diff options
author | xue <> | 2006-12-14 15:38:56 +0000 |
---|---|---|
committer | xue <> | 2006-12-14 15:38:56 +0000 |
commit | 69e7bf1c66b645a99f1b4dd73863244d28b9c5b8 (patch) | |
tree | 62923a8b26d4227c74bc552ee129e3619e34ef5e | |
parent | 8cd6c808c372c31e1276a9146243de0a627f2dcd (diff) |
typo in THttpResponse.writeFile() about sending headers
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | framework/Web/THttpResponse.php | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ Version 3.0.7 =================== BUG: Ticket#481 - Unable to cancel navigation when handling OnSideBarButtonClickEvent (Qiang) +BUG: typo in THttpResponse.writeFile() about sending headers (Qiang) Version 3.0.6 December 4, 2006 ============================== diff --git a/framework/Web/THttpResponse.php b/framework/Web/THttpResponse.php index a7a949f0..2dd70682 100644 --- a/framework/Web/THttpResponse.php +++ b/framework/Web/THttpResponse.php @@ -261,7 +261,7 @@ class THttpResponse extends TModule implements ITextWriter {
header('Pragma: public');
header('Expires: 0');
- header('Cache-Component: must-revalidate, post-check=0, pre-check=0');
+ header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
}
header("Content-type: $mimeType");
header('Content-Length: '.($content===null?filesize($fileName):strlen($content)));
|