Martin Panter added the comment:
Already fixed in 3.2 it seems
--
nosy: +vadmium
resolution: -> duplicate
stage: needs patch -> resolved
status: open -> closed
superseder: -> [urllib.request.HTTPRedirectHandler.http_error_302] Relative
Redirect issue
versions: -Python 3.3
__
Antoine Pitrou added the comment:
Well, the HTTP RFC does indicate that the redirection URI (in the Location
header: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30) must
be an absolute URI, but I also agree that using a relative URI in that context
is a common use-case suppor
New submission from lilydjwg :
On redirecting to a url like '/login', at around line 556 of request.py it will
raise an HTTPError. The sys.verrsion is
Python 3.2 (r32:88445, Apr 15 2011, 11:20:08)
[GCC 4.5.2 20110127 (prerelease)] on linux2
--
components: Library (Lib)
messages: 1