Too many redirects error using Python requests
问题 HTTP requests are working fine on my localhost, but running the same HTTP requests using the python requests library on my server returns a "Too Many Redirects" error When I enter localhost/terminal/jfk in a browser, I get a json dictionary as expected. However, when I run the following in python using the python requests library on my server requests.get('http://splitmyri.de/terminal/jfk') I receive a "Too Many Redirects" error from the requests module. Any thoughts as to what's causing the