From 49dfaed80a4a534473a19a78d19d4d2df95c88b9 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 31 Jul 2013 21:44:37 +0800 Subject: Bug 896330: patchreader should not set the "expires" header r=sgreen, a=sgreen --- Bugzilla/Attachment/PatchReader.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Bugzilla/Attachment') diff --git a/Bugzilla/Attachment/PatchReader.pm b/Bugzilla/Attachment/PatchReader.pm index 7bbbfacae..b29240c5b 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", -- cgit v1.2.3-24-g4f1b