This commit is contained in:
2021-03-09 19:11:08 +08:00
parent 8da96ad3b0
commit ff6e82f4ee
+1 -1
View File
@@ -301,7 +301,7 @@ class Response extends HttpService
$this->response->setHeader('vary', 'Accept-Encoding');
$this->response->setHeader('via', '1.1 varnish');
$this->response->setHeader('Content-Disposition', ' attachment; filename="' . end($name) . '"');
$this->response->gzip(5);
// $this->response->gzip(5);
while ($file = fread($open, $limit)) {
$this->response->write($file);