[Patches] [ python-Patches-600488 ] Robustness tweak to httplib.py

noreply@sourceforge.net noreply@sourceforge.net
Mon, 26 Aug 2002 14:57:24 -0700


Patches item #600488, was opened at 2002-08-26 17:57
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=600488&group_id=5470

Category: Library (Lib)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Tom Emerson (tree)
Assigned to: Nobody/Anonymous (nobody)
Summary: Robustness tweak to httplib.py

Initial Comment:
Python 2.2.1, FreeBSD 4.4-STABLE

httplib.py raises UnknownTransferEncoding if the HTTP
response's Transfer-Encoding header is anything except
'chunked'. Some servers return completely bogus values
in this header for otherwise valid results. This patch
causes unknown (i.e., non-chunked) transfer encodings
to be ignored.

This appears to be the behavior of most user-agents
I've looked at.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=600488&group_id=5470