[issue1520831] urrlib2 max_redirections=0 disables redirects

2010-11-20 Thread Senthil Kumaran
Senthil Kumaran orsent...@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

[issue1520831] urrlib2 max_redirections=0 disables redirects

2010-11-20 Thread John J Lee
John J Lee jj...@users.sourceforge.net added the comment: Oops, I hadn't noticed that max_redirections isn't part of the API. In that case, I agree that it's not strictly a bug. I'd also agree it's not very important. FWIW: want[ing] to see all redirects is not the same thing as printing

[issue1520831] urrlib2 max_redirections=0 disables redirects

2010-11-15 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: John, I was trying to find out what does rfc say on Client Ignoring the 30X REDIRECT headers. There is no point made on Client's trying to ignore it, instead it said that it should follow the Redirect and must not endlessly loop. Setting

[issue1520831] urrlib2 max_redirections=0 disables redirects

2010-11-15 Thread John J Lee
John J Lee jj...@users.sourceforge.net added the comment: That's silly. A justification of the need for a new feature isn't needed, because this is already-implemented feature that simply does the wrong thing at the edge case. It's not high priority, but it is a bug. --

[issue1520831] urrlib2 max_redirections=0 disables redirects

2010-11-13 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: This is an invalid bug report at the moment. In fact, aged. The redirection depends upon max_redirections and max_repeats together. Setting it to 0 explicitly (inside the code) is not a good use case under any condition. -- nosy:

[issue1520831] urrlib2 max_redirections=0 disables redirects

2010-11-13 Thread John J Lee
John J Lee jj...@users.sourceforge.net added the comment: Why not? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1520831 ___ ___

[issue1520831] urrlib2 max_redirections=0 disables redirects

2010-10-18 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- assignee: - orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1520831 ___ ___

[issue1520831] urrlib2 max_redirections=0 disables redirects

2010-09-12 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Senthil/John has this simply slipped under the radar? -- nosy: +BreamoreBoy versions: +Python 3.2 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1520831

[issue1520831] urrlib2 max_redirections=0 disables redirects

2009-02-12 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: rus_r_orange: Can you share your patch and tests? -- nosy: +ajaksu2, orsenthil stage: - test needed versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1520831

[issue1520831] urrlib2 max_redirections=0 disables redirects

2009-02-12 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +jjlee ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1520831 ___ ___ Python-bugs-list mailing