Pass strict to urllib3.

This commit is contained in:
Cory Benfield
2014-11-07 09:19:18 +01:00
parent 122c92e590
commit f28bde7250
+1 -1
View File
@@ -123,7 +123,7 @@ class HTTPAdapter(BaseAdapter):
self._pool_block = block
self.poolmanager = PoolManager(num_pools=connections, maxsize=maxsize,
block=block, **pool_kwargs)
block=block, strict=True, **pool_kwargs)
def proxy_manager_for(self, proxy, **proxy_kwargs):
"""Return urllib3 ProxyManager for the given proxy.