diff options
Diffstat (limited to 'framework/Web')
-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 26f7d25e..af751828 100644 --- a/framework/Web/THttpResponse.php +++ b/framework/Web/THttpResponse.php @@ -341,7 +341,7 @@ class THttpResponse extends TModule implements ITextWriter } } $fn=basename($fileName); - header("HTTP/1.1 {$this->_status} {$this->_reason}", true, $this->_status); + $this->sendHttpHeader(); if(is_array($headers)) { foreach($headers as $h) |