podio / podio-py

Podio Python client
MIT License
48 stars 85 forks source link

httplib is not thread safe. #37

Open subramaniank opened 9 years ago

subramaniank commented 9 years ago

Httplib is not thread safe. A lot of production servers will use a gunicorn/gevent/thread based app servers. These can cause httplib to have issues when issuing requests to podio which results in podio-py to break.

A better approach could be to use the awesome requests library

Flimm commented 7 years ago

httplib2 is the library that this uses, and I can see no indication that it is thread-safe either.

subramaniank commented 7 years ago

This indicates that urllib3 is wrapped by http://docs.python-requests.org/en/latest/ and supporting features lists Thread safety.