[ python-Bugs-1178145 ] urllib2.py assumes 206 is an error
SourceForge.net
noreply at sourceforge.net
Thu Apr 7 00:52:48 CEST 2005
Bugs item #1178145, was opened at 2005-04-06 23:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1178145&group_id=5470
Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Barry Alan Scott (barry-scott)
Assigned to: Nobody/Anonymous (nobody)
Summary: urllib2.py assumes 206 is an error
Initial Comment:
I'm writting code that uses the Range header. The
correct response is 206, but the urllib2.py is coded to
treat any code that is not 200 as error. The correct
code needs to treat 200 to 299 as success.
The attached patch fixes the problem.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1178145&group_id=5470
More information about the Python-bugs-list
mailing list