HomePhorge

(PUP-3352) Normalize HTTP Accept-Encoding values
d8fd140c2e52Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3352) Normalize HTTP Accept-Encoding values

Previously, puppet and the module tool uses different Accept-Encoding
values. The puppet version gave equal weight to gzip and deflate,
whereas the module tool preferred gzip. The module tool's version
appears to have been copy and pasted from ruby's Net::HTTP code.

This commit changes puppet to give higher precedence to gzip (to match
the others), and refactors the value of the header into a constant that
both puppet and the module tool use.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUddaa1f605ccf: (maint) Write forge HTTP debug output to stderr
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPUd8fd140c2e52: (PUP-3352) Normalize HTTP Accept-Encoding values (authored by Josh Cooper <josh@puppetlabs.com>).Oct 10 2014, 11:06 PM