From: Byron Jones Date: Wed, 31 Jul 2013 13:44:37 +0000 (+0800) Subject: Bug 896330: patchreader should not set the "expires" header X-Git-Tag: bugzilla-4.5.1~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49dfaed80a4a534473a19a78d19d4d2df95c88b9;p=thirdparty%2Fbugzilla.git Bug 896330: patchreader should not set the "expires" header r=sgreen, a=sgreen --- diff --git a/Bugzilla/Attachment/PatchReader.pm b/Bugzilla/Attachment/PatchReader.pm index 7bbbfacae7..b29240c5b7 100644 --- a/Bugzilla/Attachment/PatchReader.pm +++ b/Bugzilla/Attachment/PatchReader.pm @@ -296,8 +296,7 @@ sub setup_template_patch_reader { && Bugzilla->params->{'cvsroot_get'} && !$vars->{'newid'}; # Print everything out. - print $cgi->header(-type => 'text/html', - -expires => '+3M'); + print $cgi->header(-type => 'text/html'); $last_reader->sends_data_to(new PatchReader::DiffPrinter::template($template, "attachment/diff-header.$format.tmpl",