[ python-Bugs-831747 ] httplib hardcodes Accept-Encoding
SourceForge.net
noreply at sourceforge.net
Wed Nov 19 14:52:23 EST 2003
Bugs item #831747, was opened at 2003-10-28 14:38
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=831747&group_id=5470
Category: Python Library
Group: None
>Status: Closed
>Resolution: Accepted
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: Martin v. Löwis (loewis)
Date: 2003-11-19 20:52
Message:
Logged In: YES
user_id=21627
Thanks for the patch. Applied as
libhttplib.tex 1.36
httplib.py 1.82
NEWS 1.895
----------------------------------------------------------------------
Comment By: Bastian Kleineidam (calvin)
Date: 2003-11-11 18:03
Message:
Logged In: YES
user_id=9205
Here is a patch against CVS adding skip_accept_encoding and
documentation.
----------------------------------------------------------------------
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