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 /framework/Web/THttpResponse.php | |
parent | 8cd6c808c372c31e1276a9146243de0a627f2dcd (diff) |
typo in THttpResponse.writeFile() about sending headers
Diffstat (limited to 'framework/Web/THttpResponse.php')
-rw-r--r-- | framework/Web/THttpResponse.php | 2 |
1 files changed, 1 insertions, 1 deletions
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)));
|