Homec4science

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

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

Description

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 13 2016, 23:25
Pushed
aubortJan 31 2017, 17:16
Parents
rPH26127b9c5f7b: Allow Dashboards to set an icon
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH842710608e49: Don't combine automatic output compression with "Content-Length" (authored by epriestley <git@epriestley.com>).Dec 13 2016, 23:25