]> git.donarmstrong.com Git - debbugs.git/commitdiff
fix captialization of cache control
authorDon Armstrong <don@donarmstrong.com>
Mon, 18 Jul 2016 02:20:55 +0000 (19:20 -0700)
committerDon Armstrong <don@donarmstrong.com>
Mon, 18 Jul 2016 02:20:55 +0000 (19:20 -0700)
cgi/bugreport.cgi
cgi/pkgreport.cgi

index 4cdf5a19890ca72e3d96a80e71c45f304135edf7..ef0341c25facad894c8c7ed0294c6467fcfbc66e 100755 (executable)
@@ -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,
index 6b92f90c54b4b3c4b9e3300db9d1079a2b934237..1ea9a17a314160b2c83314677852e8f5f6312235 100755 (executable)
@@ -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 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";