2

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.

Maybe I need try with other lib?

Cœur
  • 37,241
  • 25
  • 195
  • 267
Francisco Gonzalez
  • 437
  • 1
  • 3
  • 15

0 Answers0