Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13969811
D17624.id42391.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
463 B
Referenced Files
None
Subscribers
None
D17624.id42391.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 18, 3:59 AM (3 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6724887
Default Alt Text
D17624.id42391.diff (463 B)
Attached To
Mode
D17624: Correct an issue where the wrong "Content-Length" was set for partial content responses
Attached
Detach File
Event Timeline
Log In to Comment