[issue14767] urllib.request.HTTPRedirectHandler raises HTTPError when Location header is relative

2015-04-10 Thread Martin Panter
Martin Panter added the comment: Looks like this was a 3.2 regression, but was fixed in Issue 13696. -- nosy: +vadmium resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> [urllib.request.HTTPRedirectHandler.http_error_302] Relative Redirect issue __

[issue14767] urllib.request.HTTPRedirectHandler raises HTTPError when Location header is relative

2012-05-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: See issue12275. Seems like a common request. -- nosy: +pitrou ___ Python tracker ___ ___ Python-bug

[issue14767] urllib.request.HTTPRedirectHandler raises HTTPError when Location header is relative

2012-05-09 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue14767] urllib.request.HTTPRedirectHandler raises HTTPError when Location header is relative

2012-05-09 Thread jspenguin
New submission from jspenguin : If a server returns a relative URL in the 'Location:' header, HTTPRedirectHandler will fail because it checks the scheme of the URL before it calls urljoin() to convert it to an absolute URL. -- components: Library (Lib) files: rel_redirect.py messages: