From 05f158937d8e18b9bec70594f465fc078ed3bc59 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sun, 17 Jul 2016 19:20:55 -0700 Subject: [PATCH] fix captialization of cache control --- cgi/bugreport.cgi | 2 +- cgi/pkgreport.cgi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"; -- 2.39.2