Message287296
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>. |
|
Date |
User |
Action |
Args |
2017-02-08 10:51:29 | martin.panter | set | recipients:
+ martin.panter, song1st |
2017-02-08 10:51:29 | martin.panter | set | messageid: <1486551089.01.0.00952106254091.issue29479@psf.upfronthosting.co.za> |
2017-02-08 10:51:28 | martin.panter | link | issue29479 messages |
2017-02-08 10:51:28 | martin.panter | create | |
|