Comment 4 for bug 217961

Revision history for this message
Anthony Lenton (elachuni) wrote :

I've got a small Google App Engine using pyax running on http://achuni-pyax.appspot.com/

As Kevin pointed out it was just a matter of giving urllib2 a handler that doesn't rely on sockets by using Google's urlfetch instead. (And commenting out a unused import of os.fstat in cache.py).

I believe that this same fix could be applied to other libs that need a working HTTPS handler on Google App Engine, so I separated it out in to its own file.

(for if you don't trust your user and password to the running webapp, I've added the code for the webapp to the tests/ directory in lp:~elachuni/+junk/pyax-appengine)