eshad / httplib2

Automatically exported from code.google.com/p/httplib2
0 stars 0 forks source link

Socket error on Google App Engine #106

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
# I run this on GAE:
>>> import httplib2

# I get this:
AttributeError: 'module' object has no attribute 'socket' 

# Using Python 2.6, and Httplib2 from trunk.

Original issue reported on code.google.com by jure.vrs...@gmail.com on 30 Jul 2010 at 7:25

GoogleCodeExporter commented 9 years ago
App Engine deliberately disallows socket operations and requires you to use 
their URL fetching API.

http://code.google.com/appengine/docs/python/runtime.html#The_Sandbox

So this isn't exactly a defect in httplib2. But it may be possible to modify 
httplib2 to work nicely with App Engine.

Original comment by mackst...@gmail.com on 30 Jul 2010 at 4:32

GoogleCodeExporter commented 9 years ago
httplib2 now works on App Engine.

Original comment by joe.gregorio@gmail.com on 11 Feb 2011 at 6:09