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
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
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)
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)
--
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