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 <[email protected]>
<http://bugs.python.org/issue29479>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com