summaryrefslogtreecommitdiff
path: root/framework/Web/THttpResponse.php
diff options
context:
space:
mode:
authorxue <>2006-12-15 16:09:53 +0000
committerxue <>2006-12-15 16:09:53 +0000
commitcfbb358ea25b4cc1b559d8816ec59faa9580a01f (patch)
treed60dfaa5c4582c1dc6a549f1e092aae568e528bd /framework/Web/THttpResponse.php
parent883768e2025a4060311d90a74cc6067196e1d22b (diff)
merge from 3.0 branch till 1573.
Diffstat (limited to 'framework/Web/THttpResponse.php')
-rw-r--r--framework/Web/THttpResponse.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/THttpResponse.php b/framework/Web/THttpResponse.php
index 7a2d7349..be4387e2 100644
--- a/framework/Web/THttpResponse.php
+++ b/framework/Web/THttpResponse.php
@@ -294,7 +294,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)));