Page MenuHomePhabricator

D17624.id42391.diff
No OneTemporary

D17624.id42391.diff

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

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 19, 1:27 PM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6724887
Default Alt Text
D17624.id42391.diff (463 B)

Event Timeline