diff options
author | Byron Jones <bjones@mozilla.com> | 2013-07-31 15:45:04 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-07-31 15:45:04 +0200 |
commit | 94a7eb66783db51f8a50426edbd542b5d2132ea8 (patch) | |
tree | fa9bb34e1cd90a8ef5e259b0357d3bbe71048523 /Bugzilla | |
parent | d0e8fe1db901a2f6dac8e4a47b565754c38bc903 (diff) | |
download | bugzilla-94a7eb66783db51f8a50426edbd542b5d2132ea8.tar.gz bugzilla-94a7eb66783db51f8a50426edbd542b5d2132ea8.tar.xz |
Bug 896330: patchreader should not set the "expires" header
Diffstat (limited to 'Bugzilla')
-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 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", |