Commit bc65d8c7 authored by Byron Jones's avatar Byron Jones

Bug 896330: patchreader should not set the "expires" header

r=sgreen, a=sgreen
parent e6c43208
...@@ -268,8 +268,7 @@ sub setup_template_patch_reader { ...@@ -268,8 +268,7 @@ sub setup_template_patch_reader {
&& Bugzilla->params->{'cvsroot_get'} && !$vars->{'newid'}; && Bugzilla->params->{'cvsroot_get'} && !$vars->{'newid'};
# Print everything out. # Print everything out.
print $cgi->header(-type => 'text/html', print $cgi->header(-type => 'text/html');
-expires => '+3M');
$last_reader->sends_data_to(new PatchReader::DiffPrinter::template($template, $last_reader->sends_data_to(new PatchReader::DiffPrinter::template($template,
"attachment/diff-header.$format.tmpl", "attachment/diff-header.$format.tmpl",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment