diff options
author | 2013-07-31 21:45:55 +0800 | |
---|---|---|
committer | 2013-07-31 21:45:55 +0800 | |
commit | bc65d8c7f1b8510e090578c945fe67519d2b1a26 (patch) | |
tree | ead9d425e2b9942aa67789f4d60c855c7b50b130 | |
parent | Bug 893618 - Bug status anchor different on create and modify bug page (diff) | |
download | bugzilla-bc65d8c7f1b8510e090578c945fe67519d2b1a26.tar.gz bugzilla-bc65d8c7f1b8510e090578c945fe67519d2b1a26.tar.bz2 bugzilla-bc65d8c7f1b8510e090578c945fe67519d2b1a26.zip |
Bug 896330: patchreader should not set the "expires" header
r=sgreen, a=sgreen
-rw-r--r-- | Bugzilla/Attachment/PatchReader.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Bugzilla/Attachment/PatchReader.pm b/Bugzilla/Attachment/PatchReader.pm index e9cb189ef..4026ba739 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", |