[Python-bugs-list] [ python-Bugs-831747 ] httplib hardcodes
Accept-Encoding
SourceForge.net
noreply at sourceforge.net
Fri Oct 31 09:55:26 EST 2003
Bugs item #831747, was opened at 2003-10-28 14:38
Message generated for change (Comment added) made by calvin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=831747&group_id=5470
Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Bastian Kleineidam (calvin)
Assigned to: Nobody/Anonymous (nobody)
Summary: httplib hardcodes Accept-Encoding
Initial Comment:
in httplib.py the request() method adds a hardcoded
Accept-Encoding header with the 'identity' value.
This should at least be optional, since I have several
programs supporting encodings like 'gzip' or 'deflate'
and I want to be able to specify my own Accept-Encoding
header.
I suggest adding (similar to skip_host) a
skip_accept_encoding optional argument.
----------------------------------------------------------------------
>Comment By: Bastian Kleineidam (calvin)
Date: 2003-10-31 15:55
Message:
Logged In: YES
user_id=9205
Yes, in a few days.
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2003-10-31 13:45
Message:
Logged In: YES
user_id=21627
Can you provide a patch (including documentation changes)?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=831747&group_id=5470
More information about the Python-bugs-list
mailing list