From: Don Armstrong Date: Mon, 18 Jul 2016 02:20:55 +0000 (-0700) Subject: fix captialization of cache control X-Git-Tag: release/2.6.0~197 X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=05f158937d8e18b9bec70594f465fc078ed3bc59;hp=ceb75730fcf9d4342f0dea06bfc19cd1826ca615 fix captialization of cache control --- diff --git a/cgi/bugreport.cgi b/cgi/bugreport.cgi index 4cdf5a1..ef0341c 100755 --- a/cgi/bugreport.cgi +++ b/cgi/bugreport.cgi @@ -308,7 +308,7 @@ else { $msg_num++; ## allow this to be cached for a week print "Status: 200 OK\n"; - print "Cache-control: public, max-age=604800\n"; + print "Cache-Control: public, max-age=604800\n"; print "Etag: $etag\n"; print handle_email_message($records[0], ref => $ref, diff --git a/cgi/pkgreport.cgi b/cgi/pkgreport.cgi index 6b92f90..1ea9a17 100755 --- a/cgi/pkgreport.cgi +++ b/cgi/pkgreport.cgi @@ -436,7 +436,7 @@ my $result = pkg_htmlizebugs(bugs => \@bugs, (exists $param{dist})?(dist => $param{dist}):(), ); -print "Cache-control: public, max-age=300\n"; +print "Cache-Control: public, max-age=300\n"; print "Content-Type: text/html; charset=utf-8\n\n"; print "\n";