From: Byron Jones Date: Wed, 31 Jul 2013 13:45:55 +0000 (+0800) Subject: Bug 896330: patchreader should not set the "expires" header X-Git-Tag: bugzilla-4.4.1~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc65d8c7f1b8510e090578c945fe67519d2b1a26;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 e9cb189efa..4026ba7393 100644 --- a/Bugzilla/Attachment/PatchReader.pm +++ b/Bugzilla/Attachment/PatchReader.pm @@ -268,8 +268,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",