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_nam
New submission from song1st:
When I tried to skip "ACCEPT-ENCODING" of header, I found the behavior was not
right.
I think the issue is the following two "if" in _send_request of httplib.
def _send_request(self, method, url, body, headers):
# Honor explicitly