[issue29479] httplib: could not skip "ACCEPT-ENCODING" header
song1st
report at bugs.python.org
Wed Feb 8 06:08:29 EST 2017
song1st added the comment:
Sorry, I thought I misunderstood the meaning.
I want no "ACCEPT-ENCODING" even "ACCEPT-ENCODING: identity".
I tried to modify the code from
if 'accept-encoding' in header_names:
to
if not 'accept-encoding' in header_names:
The http request will be no "ACCEPT-ENCODING".
This is what I want.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29479>
_______________________________________
More information about the Python-bugs-list
mailing list