Hi Francis, On Sat, Apr 11, 2015 at 3:24 PM, Francis Ridder <[email protected]> wrote: > Hi, I contacted Dirkjan on twitter about some ideas regarding the python > lib. I was wondering if the community is open to switching the underlying > http stuff with the Requests library?
Thanks for getting back to this on the mailing list. I actually prefer the mailing list over a GitHub issue for this sort of higher-level discussion; we can always start to discuss a pull request once we've fleshed out the basics. I do like Alexander's idea about implementing this as a separate option. I'm not exactly sure what the right level would be, but a good start might be to see if it's possible to write an alternative http.Session implementation built around requests? That would let us see how much code we need, we could include it in CouchDB-Python as something optional, then possibly enable it automatically if requests is installed or even at some point start to depend on it. Cheers, Dirkjan
