This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients martin.panter, song1st
Date 2017-02-08.10:51:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486551089.01.0.00952106254091.issue29479@psf.upfronthosting.co.za>
In-reply-to
Content
Please explain what the wrong behaviour that you see is, and what you expect the right behaviour should be.

That code is intended to either keep any user-supplied Accept-Encoding header field, or send “Accept-Encoding: identity” if the field is not supplied.

If you are looking for a way to avoid adding this field entirely, see the lower level putrequest() and related methods. This is documented behaviour: <https://docs.python.org/2.7/library/httplib.html#httplib.HTTPConnection.putrequest>.
History
Date User Action Args
2017-02-08 10:51:29martin.pantersetrecipients: + martin.panter, song1st
2017-02-08 10:51:29martin.pantersetmessageid: <1486551089.01.0.00952106254091.issue29479@psf.upfronthosting.co.za>
2017-02-08 10:51:28martin.panterlinkissue29479 messages
2017-02-08 10:51:28martin.pantercreate