[issue8035] urllib.request.urlretrieve hangs waiting for connection close after a redirect

Éric Araujo report at bugs.python.org
Fri Dec 30 22:30:22 CET 2011


Éric Araujo <merwok at netwok.org> added the comment:

> It could be possible to set up an ad-hoc httpserver for that purpose,
> but that sounds a bit overkill.

Oh, I assumed urllib already had a server for tests.  We have one in distutils2/packaging, otherwise we’d have to resort to manual testing against the real PyPI, and I’d feel much less confident about regressions.

----------
versions:  -Python 3.1

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


More information about the Python-bugs-list mailing list