I do a http request with module requests in django (python 3),

import requests
url = 'https://www.google.es'
r = requests.get(url)
str = str(r.content)

and It work right in localhost, but when I deploy in Google App Engine, It 
return a "('Connection aborted.', error(104, 'connection reset by peer'))", 
I deploy in a flex enviroment.

I read than it not necessary change for urlfetch module.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a44b53dd-4a40-4ebd-9add-cafbfd7b2126%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine... Francisco Javier Gonzalez

Reply via email to