API引用#
- Urllib3.request()
- 游泳池管理员
PoolManager
PoolManager.clear()
PoolManager.connection_from_context()
PoolManager.connection_from_host()
PoolManager.connection_from_pool_key()
PoolManager.connection_from_url()
PoolManager.proxy
PoolManager.proxy_config
PoolManager.request()
PoolManager.request_encode_body()
PoolManager.request_encode_url()
PoolManager.urlopen()
ProxyManager
PoolKey
PoolKey.key__proxy
PoolKey.key__proxy_config
PoolKey.key__proxy_headers
PoolKey.key__socks_options
PoolKey.key_assert_fingerprint
PoolKey.key_assert_hostname
PoolKey.key_block
PoolKey.key_blocksize
PoolKey.key_ca_cert_dir
PoolKey.key_ca_certs
PoolKey.key_cert_file
PoolKey.key_cert_reqs
PoolKey.key_headers
PoolKey.key_host
PoolKey.key_key_file
PoolKey.key_key_password
PoolKey.key_maxsize
PoolKey.key_port
PoolKey.key_retries
PoolKey.key_scheme
PoolKey.key_server_hostname
PoolKey.key_socket_options
PoolKey.key_source_address
PoolKey.key_ssl_context
PoolKey.key_ssl_maximum_version
PoolKey.key_ssl_minimum_version
PoolKey.key_ssl_version
PoolKey.key_timeout
- 连接池
- 连接
- 例外情况和警告
BodyNotHttplibCompatible
ClosedPoolError
ConnectTimeoutError
ConnectionError
DecodeError
DependencyWarning
EmptyPoolError
FullPoolError
HTTPError
HTTPWarning
HeaderParsingError
HostChangedError
IncompleteRead
InsecurePlatformWarning
InsecureRequestWarning
InvalidChunkLength
InvalidHeader
LocationParseError
LocationValueError
MaxRetryError
NameResolutionError
NewConnectionError
NotOpenSSLWarning
PoolError
ProtocolError
ProxyError
ProxySchemeUnknown
ProxySchemeUnsupported
ReadTimeoutError
RequestError
ResponseError
ResponseNotChunked
SSLError
SecurityWarning
SystemTimeWarning
TimeoutError
TimeoutStateError
URLSchemeUnknown
UnrewindableBodyError
disable_warnings()
- 应答器和解码器
- 响应
BaseHTTPResponse
BaseHTTPResponse.CONTENT_DECODERS
BaseHTTPResponse.DECODER_ERROR_CLASSES
BaseHTTPResponse.REDIRECT_STATUSES
BaseHTTPResponse.close()
BaseHTTPResponse.connection
BaseHTTPResponse.data
BaseHTTPResponse.drain_conn()
BaseHTTPResponse.get_redirect_location()
BaseHTTPResponse.getheader()
BaseHTTPResponse.getheaders()
BaseHTTPResponse.geturl()
BaseHTTPResponse.info()
BaseHTTPResponse.json()
BaseHTTPResponse.read()
BaseHTTPResponse.read_chunked()
BaseHTTPResponse.readinto()
BaseHTTPResponse.release_conn()
BaseHTTPResponse.retries
BaseHTTPResponse.stream()
BaseHTTPResponse.url
HTTPResponse
HTTPResponse.auto_close
HTTPResponse.status
HTTPResponse.headers
HTTPResponse.CONTENT_DECODERS
HTTPResponse.DECODER_ERROR_CLASSES
HTTPResponse.REDIRECT_STATUSES
HTTPResponse.close()
HTTPResponse.closed
HTTPResponse.connection
HTTPResponse.data
HTTPResponse.drain_conn()
HTTPResponse.fileno()
HTTPResponse.flush()
HTTPResponse.get_redirect_location()
HTTPResponse.getheader()
HTTPResponse.getheaders()
HTTPResponse.geturl()
HTTPResponse.info()
HTTPResponse.isatty()
HTTPResponse.isclosed()
HTTPResponse.json()
HTTPResponse.read()
HTTPResponse.read_chunked()
HTTPResponse.readable()
HTTPResponse.readinto()
HTTPResponse.readline()
HTTPResponse.readlines()
HTTPResponse.release_conn()
HTTPResponse.retries
HTTPResponse.seek()
HTTPResponse.seekable()
HTTPResponse.stream()
HTTPResponse.supports_chunked_reads()
HTTPResponse.tell()
HTTPResponse.truncate()
HTTPResponse.url
HTTPResponse.writable()
HTTPResponse.writelines()
- 译码器
- 响应
- 字段和多部分表单
- 公用事业
- 第三方模块