Merge remote-tracking branch 'jehiah/max_simultaneous_connections_457'
This commit is contained in:
commit
63a3ed657a
|
@ -57,11 +57,11 @@ class HTTPClient(object):
|
|||
except httpclient.HTTPError, e:
|
||||
print "Error:", e
|
||||
"""
|
||||
def __init__(self, async_client_class=None):
|
||||
def __init__(self, async_client_class=None, **kwargs):
|
||||
self._io_loop = IOLoop()
|
||||
if async_client_class is None:
|
||||
async_client_class = AsyncHTTPClient
|
||||
self._async_client = async_client_class(self._io_loop)
|
||||
self._async_client = async_client_class(self._io_loop, **kwargs)
|
||||
self._response = None
|
||||
self._closed = False
|
||||
|
||||
|
|
Loading…
Reference in New Issue