Homec4science

(stable) Don't combine automatic output compression with "Content-Length"

Authored by epriestley <git@epriestley.com> on Dec 13 2016, 23:02.

Description

(stable) 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

Details

Committed
epriestley <git@epriestley.com>Dec 16 2016, 00:04
Pushed
aubortJan 31 2017, 17:16
Parents
rPH3cd0001d8b95: (stable) Fix two cache issues (global settings; initial setup)
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH1cd64f9975d6: (stable) Don't combine automatic output compression with "Content-Length" (authored by epriestley <git@epriestley.com>).Dec 16 2016, 00:04