[ python-Bugs-1178145 ] urllib2.py assumes 206 is an error
SourceForge.net
noreply at sourceforge.net
Sun Jun 26 23:48:17 CEST 2005
Bugs item #1178145, was opened at 2005-04-07 00:52
Message generated for change (Comment added) made by birkenfeld
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1178145&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
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.
----------------------------------------------------------------------
>Comment By: Reinhold Birkenfeld (birkenfeld)
Date: 2005-06-26 23:48
Message:
Logged In: YES
user_id=1188172
It seems that jjlee is right. Closing as Fixed.
----------------------------------------------------------------------
Comment By: John J Lee (jjlee)
Date: 2005-05-19 21:07
Message:
Logged In: YES
user_id=261020
Please close: this is already fixed in 2.4.
----------------------------------------------------------------------
Comment By: Jim Jewett (jimjjewett)
Date: 2005-04-08 18:17
Message:
Logged In: YES
user_id=764593
Please re-attach. SF didn't get the file.
----------------------------------------------------------------------
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