protected function setResponseHeaders(Response $response) { parent::setResponseHeaders($response); $response->headers->set('X-Sendfile', $this->fullFilename); }
protected function setResponseHeaders(Response $response) { parent::setResponseHeaders($response); $response->headers->set('Content-Length', filesize($this->fullFilename)); }
protected function setResponseHeaders(Response $response) { parent::setResponseHeaders($response); $response->headers->set('X-Accel-Redirect', $this->fullFilename); }