[issue10861] urllib2 sporadically falsely claims infinite redirect

2011-01-08 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I ran into a redirection loop when cookies were blocked from google, who should know better. And then they had the gall to blacklist my ip for an attempted DOS attack. So a feature request may not be out of order; but I for one would

[issue10861] urllib2 sporadically falsely claims infinite redirect

2011-01-07 Thread Shawn Ligocki
New submission from Shawn Ligocki sligo...@gmail.com: urllib2 sporadically falsely claims that http://www.bankofamerica.com/ has infinite redirect: $ python -c 'import urllib2; print urllib2.urlopen(http://www.bankofamerica.com/;).geturl()' https://www.bankofamerica.com/ $ python -c 'import

[issue10861] urllib2 sporadically falsely claims infinite redirect

2011-01-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Apparently, it's a problem on bankofamerica.com: $ curl -v https://www.bankofamerica.com/ * About to connect() to www.bankofamerica.com port 443 (#0) * Trying 171.161.148.173... connected * Connected to www.bankofamerica.com (171.161.148.173)

[issue10861] urllib2 sporadically falsely claims infinite redirect

2011-01-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Actually, perhaps the redirection loop would stop if we would send back those cookies which the server sends us. So perhaps it's a feature request rather. (but this still strikes me as a very poor use of HTTP) --

[issue10861] urllib2 sporadically falsely claims infinite redirect

2011-01-07 Thread Shawn Ligocki
Shawn Ligocki sligo...@gmail.com added the comment: Ahha, what a mess, thanks for investigating! I agree, this is bankofamerica's problem. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10861