改名
This commit is contained in:
@@ -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);
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user