proposed fix for strange cache issue
This commit is contained in:
parent
2fa12f41b7
commit
0cfe03726a
2 changed files with 4 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ sub handler {
|
|||
$http->setStatus("304","Content Not Modified");
|
||||
$http->sendHeader;
|
||||
$session->close;
|
||||
return Apache2::Const::OK;
|
||||
return "cached";
|
||||
}
|
||||
|
||||
# return the page.
|
||||
|
|
|
|||
|
|
@ -63,6 +63,9 @@ sub handler {
|
|||
my $output = &$command($session);
|
||||
use strict;
|
||||
if ($output) {
|
||||
if ($output eq "cached") {
|
||||
return Apache2::Const::OK;
|
||||
}
|
||||
unless ($output eq "none" || $output eq "redirect") {
|
||||
unless ($output eq "chunked") {
|
||||
$session->http->sendHeader();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue