[New-bugs-announce] [issue1177] urllib* 20x responses not OK?

Jim Jewett report at bugs.python.org
Tue Sep 18 22:22:53 CEST 2007


New submission from 
					Jim Jewett
				:

Under the http protocol, any 2xx response is OK.

urllib.py and urllib2.py hardcoded only response 200 (the most common).


http://bugs.python.org/issue912845 added 206 as acceptable to urllib2, but 
not any other 20x responses.  (It also didn't fix urllib.)

Suggested for 2.6, as it does change behavior.

(Also see duplicate http://bugs.python.org/issue971965 which I will try to 
close after opening this. )

----------
components: Library (Lib)
messages: 56009
nosy: jimjjewett
severity: normal
status: open
title: urllib* 20x responses not OK?
type: behavior
versions: Python 2.6

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1177>
__________________________________


More information about the New-bugs-announce mailing list