Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

httplib is not thread safe. #37

Open
subramaniank opened this issue Jun 21, 2015 · 2 comments
Open

httplib is not thread safe. #37

subramaniank opened this issue Jun 21, 2015 · 2 comments

Comments

@subramaniank
Copy link

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
Copy link

Flimm commented Nov 8, 2016

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

@subramaniank
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants