-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
Description
Was recently pointed out in #903 (comment) that httplib2.Http
objects are not threadsafe.
@mwitkow-io suggested that using urllib3
connection pooling would be useful to them.
Other users may also want to use Twisted for their transport layer (instead of httplib2
).
Currently (as of 9491053) this is possible in datastore
because Connection
takes a standalone http
object (of any type the user pleases) and the only place the http
object is used has a very clear signature
headers, content = self.http.request(uri=..., method=..., headers=..., body=...)
Related to googleapis/oauth2client#128