|
| | __init__ (self, host, port=None, strict=False, timeout=Timeout.DEFAULT_TIMEOUT, maxsize=1, block=False, headers=None, retries=None, _proxy=None, _proxy_headers=None, _proxy_config=None, **conn_kw) |
| |
| | close (self) |
| |
| | is_same_host (self, url) |
| |
| | urlopen (self, method, url, body=None, headers=None, retries=None, redirect=True, assert_same_host=True, timeout=_Default, pool_timeout=None, release_conn=None, chunked=False, body_pos=None, **response_kw) |
| |
|
| __str__ (self) |
| |
|
| __enter__ (self) |
| |
|
| __exit__ (self, exc_type, exc_val, exc_tb) |
| |
| | request (self, method, url, fields=None, headers=None, **urlopen_kw) |
| |
| | request_encode_url (self, method, url, fields=None, headers=None, **urlopen_kw) |
| |
| | request_encode_body (self, method, url, fields=None, headers=None, encode_multipart=True, multipart_boundary=None, **urlopen_kw) |
| |
|
| strict |
| |
|
| timeout |
| |
|
| retries |
| |
|
| pool |
| |
|
| block |
| |
|
| proxy |
| |
|
| proxy_headers |
| |
|
| proxy_config |
| |
|
| num_connections |
| |
|
| num_requests |
| |
|
| conn_kw |
| |
|
| host |
| |
|
| scheme |
| |
|
| port |
| |
|
| host |
| |
|
| port |
| |
|
| headers |
| |
| | _new_conn (self) |
| |
| | _get_conn (self, timeout=None) |
| |
| | _put_conn (self, conn) |
| |
| | _validate_conn (self, conn) |
| |
| | _prepare_proxy (self, conn) |
| |
| | _get_timeout (self, timeout) |
| |
| | _raise_timeout (self, err, url, timeout_value) |
| |
| | _make_request (self, conn, method, url, timeout=_Default, chunked=False, **httplib_request_kw) |
| |
|
| _absolute_url (self, path) |
| |
|
| _proxy_host |
| |
|
dict | _encode_url_methods = {"DELETE", "GET", "HEAD", "OPTIONS"} |
| |