diff --git a/src/aphront/response/AphrontFileResponse.php b/src/aphront/response/AphrontFileResponse.php index a8f673d218..6337c984b9 100644 --- a/src/aphront/response/AphrontFileResponse.php +++ b/src/aphront/response/AphrontFileResponse.php @@ -105,7 +105,7 @@ final class AphrontFileResponse extends AphrontResponse { } if (!$this->shouldCompressResponse()) { - $headers[] = array('Content-Length', $this->getContentLength()); + $headers[] = array('Content-Length', $content_len); } if (strlen($this->getDownload())) {