embedly/embedly-python — pull request #8 by jcook793 (2012-04-19 04:38:57+00:00)
Title: Added optional support for urllib2 instead of httplib2

I'm working on a project that uses Google App Engine which requires using urllib, urllib2 or httplib for outbound HTTP requests. In this pull request I added support for urllib2 by passing the optional "use_urllib2" parameter when creating an Embedly client object.

Note that I essentially run all the tests twice, once using httplib2 and once using urllib2. It's kind of goofy but I couldn't think of a better way of doing it.