diff --git a/HttpServer/Http/Response.php b/HttpServer/Http/Response.php index 71b21ef9..6c988da5 100644 --- a/HttpServer/Http/Response.php +++ b/HttpServer/Http/Response.php @@ -300,9 +300,9 @@ class Response extends HttpService $this->response->setHeader('cache-control', 'max-age=600'); $this->response->setHeader('vary', 'Accept-Encoding'); $this->response->setHeader('via', '1.1 varnish'); - $this->response->setHeader('content-encoding', 'gzip'); +// $this->response->setHeader('content-encoding', 'gzip'); // $this->response->setHeader('Content-Disposition', ' attachment; filename="' . end($name) . '"'); -// $this->response->gzip(5); + $this->response->gzip(5); $this->response->sendfile($path); //