1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-04 04:32:43 +01:00
phorge-phorge/src/aphront/sink
epriestley 842710608e Don't combine automatic output compression with "Content-Length"
Summary:
Fixes T12013. Send either "Content-Length" or enable output compression, but not both.

Prefer compression for static resources (CSS, JS, etc).

Test Plan: Ran `curl -v ...`, no longer saw responses with both compression and `Content-Length`.

Reviewers: chad, avivey

Reviewed By: avivey

Subscribers: avivey

Maniphest Tasks: T12013

Differential Revision: https://secure.phabricator.com/D17045
2016-12-13 14:25:49 -08:00
..
__tests__ Mark some strings for translation 2015-06-09 23:06:52 +10:00
AphrontHTTPSink.php Don't combine automatic output compression with "Content-Length" 2016-12-13 14:25:49 -08:00
AphrontIsolatedHTTPSink.php Prepare file responses for streaming chunks 2015-03-14 08:29:12 -07:00
AphrontPHPHTTPSink.php Don't call flush() when emitting responses 2015-03-23 09:09:45 -07:00