[issue1520831] urrlib2 max_redirections=0 disables redirects

Senthil Kumaran report at bugs.python.org
Sat Nov 20 18:54:27 CET 2010


Senthil Kumaran <orsenthil at gmail.com> added the comment:

What should it do? OP expected that it print the redirected url. I don't think that's helpful by setting max_redirections to 0, when it can be achieved in other ways. 

Also, max_redirections is not exposed (as a parameter or arg) or a documented, how do we define user's expectation when he tries to change it?

----------

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


More information about the Python-bugs-list mailing list