[Chicago] Requests update

Adam Forsyth adam at adamforsyth.net
Sat Apr 30 01:13:10 EDT 2016

Thanks Chris!

For those of you who may not remember, or who missed my talk, one of the
problems I ran into was that requests doesn't consider Google App Engine a
supported platform. The GAE standard library isn't 100% compatible with the
... well, the standard standard library.

requests 2.10.0, which was just released, allows an external library called
requests-toolbelt <https://toolbelt.readthedocs.io/en/latest/> to provide an
adapter adding GAE support
Now, in order to make the Braintree library (which depends on requests)
work on GAE, you can add these lines to your app before you import the
Braintree library:

import requestsfrom requests_toolbelt.adapters import appengine

And it will "just work".


On Fri, Apr 29, 2016 at 8:01 PM, Chris Foresman <foresmac at gmail.com> wrote:

> Adam,
> That fix you were looking for in requests was released:
> http://docs.python-requests.org/en/master/community/updates/#id1
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> https://mail.python.org/mailman/listinfo/chicago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20160430/af5d5895/attachment.html>

More information about the Chicago mailing list