New submission from jspenguin <jspeng...@gmail.com>: 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: 160319 nosy: jspenguin priority: normal severity: normal status: open title: urllib.request.HTTPRedirectHandler raises HTTPError when Location header is relative type: behavior versions: Python 3.2 Added file: http://bugs.python.org/file25513/rel_redirect.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14767> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com