python requests not working with google app engine
django, google-app-engine, python, python-requests
Solution
According to this discussion, the issue is with netrc on Google App Engine. I was able to work around the problem by using an older version of Requests (1.2.3 in my case, but others may work too.)
Edit: According to this answer, Requests 2.1.0 should work as well.
Problem
I'm trying to fetch a page using python requests with this code in `views.py`: ``` s = requests.Session() r = s.get("https://www.23andme.com/") ``` I get the error `Exceeded 30 redirects.` My app is a Google App Engine Django app. I've gotten this code to work in the python console and a django server on pythonanywhere.com, but for some reason it isn't working on google app engine. What could be causing this? Thanks Edit: It seems like there is another issue with the Requests module in my app. I have this code to add an email to a mailchimp list: ``` m = mailchimp.Mailchimp(MAILCHIMP_API_KEY) list_response = m.lists.list() ``` but if fails with the error `HTTPS/SSL is required`