Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14045491
D17624.id42388.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.id42388.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
Thu, Nov 14, 5:15 AM (1 h, 9 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6724887
Default Alt Text
D17624.id42388.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