From 94a7eb66783db51f8a50426edbd542b5d2132ea8 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 31 Jul 2013 21:45:04 +0800 Subject: Bug 896330: patchreader should not set the "expires" header --- 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 049487b68..7c5dfc470 100644 --- a/Bugzilla/Attachment/PatchReader.pm +++ b/Bugzilla/Attachment/PatchReader.pm @@ -303,8 +303,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 Bugzilla::PatchReader::DiffPrinter::template($template, "attachment/diff-header.$format.tmpl", -- cgit v1.2.3-24-g4f1b