[issue12275] urllib.request.HTTPRedirectHandler won't redirect to a URL with only path but not domain

lilydjwg report at bugs.python.org
Tue Jun 7 09:10:18 CEST 2011


New submission from lilydjwg <lilydjwg at gmail.com>:

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: 137791
nosy: lilydjwg
priority: normal
severity: normal
status: open
title: urllib.request.HTTPRedirectHandler won't redirect to a URL with only path but not domain
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12275>
_______________________________________


More information about the Python-bugs-list mailing list