Open subramaniank opened 9 years ago
httplib2
is the library that this uses, and I can see no indication that it is thread-safe either.
This indicates that urllib3 is wrapped by http://docs.python-requests.org/en/latest/ and supporting features lists Thread safety.
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