MCPcopy Create free account

hub / github.com/urllib3/urllib3 / types & classes

Types & classes218 in github.com/urllib3/urllib3

↓ 150 callersClassHTTPConnectionPool
Thread-safe connection pool for one host. :param host: Host used for this HTTP Connection (e.g. "localhost"), passed into :c
src/urllib3/connectionpool.py:120
↓ 100 callersClassHTTPResponse
HTTP Response container. Backwards-compatible with :class:`http.client.HTTPResponse` but the response ``body`` is loaded and decoded on-
src/urllib3/response.py:540
↓ 70 callersClassHTTPSConnectionPool
Same as :class:`.HTTPConnectionPool`, but HTTPS. :class:`.HTTPSConnection` uses one of ``assert_fingerprint``, ``assert_hostname`` and `
src/urllib3/connectionpool.py:965
↓ 57 callersClassPoolManager
Allows for arbitrary requests while transparently keeping track of necessary connection pools for you. :param num_pools: Number
src/urllib3/poolmanager.py:162
↓ 56 callersClassRetry
Retry configuration. Each retry attempt will create a new Retry object with updated values, so they can be safely reused. Retries can be
src/urllib3/util/retry.py:41
↓ 37 callersClassHTTPHeaderDict
:param headers: An iterable of field-value pairs. Must not contain multiple field names when compared case-insensitively. :p
src/urllib3/_collections.py:206
↓ 25 callersClassTimeout
Timeout configuration. Timeouts can be defined as a default for a pool: .. code-block:: python import urllib3 timeout = ur
src/urllib3/util/timeout.py:25
↓ 17 callersClassSSLTransport
The SSLTransport wraps an existing socket and establishes an SSL connection. Contrary to Python's implementation of SSLSocket, it allows you
src/urllib3/util/ssltransport.py:22
↓ 9 callersClassBytesQueueBuffer
Memory-efficient bytes buffer To return decoded data in read() and still follow the BufferedIOBase API, we need a buffer to always return the
src/urllib3/response.py:227
↓ 9 callersClassProxyManager
Behaves just like :class:`PoolManager`, but sends all requests through the defined proxy, using the CONNECT method for HTTPS URLs. :para
src/urllib3/poolmanager.py:492
↓ 9 callersClassReadTimeoutError
Raised when a socket timeout occurs while receiving data from a server
src/urllib3/exceptions.py:129
↓ 8 callersClassConnectTimeoutError
Raised when a socket timeout occurs while connecting to a server
src/urllib3/exceptions.py:135
↓ 7 callersClassUrl
Data structure for representing an HTTP URL. Used as a return value for :func:`parse_url`. Both the scheme and host are normalized as they ar
src/urllib3/util/url.py:80
↓ 6 callersClassMockChunkedEncodingResponse
test/test_response.py:1560
↓ 6 callersClassSSLError
Raised when SSL certificate fails in an HTTPS connection.
src/urllib3/exceptions.py:55
↓ 5 callersClassHTTPConnection
Based on :class:`http.client.HTTPConnection` but provides an extra constructor backwards-compatibility layer between older and newer Pythons.
src/urllib3/connection.py:81
↓ 5 callersClassHTTPSConnection
Many of the parameters to this constructor are passed to the underlying SSL socket by means of :py:func:`urllib3.util.ssl_wrap_socket`.
src/urllib3/connection.py:495
↓ 5 callersClassRequestField
A data container for request body parameters. :param name: The name of this request field. Must be unicode. :param data:
src/urllib3/fields.py:153
↓ 5 callersClassRequestHistory
src/urllib3/util/retry.py:33
↓ 4 callersClassLocationParseError
Raised when get_host or similar fails to parse the URL input.
src/urllib3/exceptions.py:182
↓ 3 callersClassEmptyPoolError
Raised when a pool runs out of connections and no more are allowed.
src/urllib3/exceptions.py:166
↓ 3 callersClassInvalidHeader
The header provided was somehow invalid.
src/urllib3/exceptions.py:285
↓ 3 callersClassNewConnectionError
Raised when we fail to establish a new connection. Usually ECONNREFUSED.
src/urllib3/exceptions.py:139
↓ 3 callersClassNonMappingHeaderContainer
test/test_collections.py:135
↓ 3 callersClassProtocolError
Raised when something unexpected happens mid-request/response.
src/urllib3/exceptions.py:74
↓ 3 callersClassProxyConfig
src/urllib3/_base_connection.py:12
↓ 2 callersClassCertificateError
src/urllib3/util/ssl_match_hostname.py:20
↓ 2 callersClassDecodeError
Raised when automatic decoding based on Content-Type fails.
src/urllib3/exceptions.py:70
↓ 2 callersClassEmscriptenResponse
src/urllib3/contrib/emscripten/response.py:23
↓ 2 callersClassHTTPUnixConnectionPool
test/test_connectionpool.py:51
↓ 2 callersClassHeaderParsingError
Raised by assert_header_parsing, but we convert it to a log.warning statement.
src/urllib3/exceptions.py:310
↓ 2 callersClassImportBlocker
Block Imports To be placed on ``sys.meta_path``. This ensures that the modules specified cannot be imported, even if they are a builtin.
test/__init__.py:284
↓ 2 callersClassLocationValueError
Raised when there is something wrong with a given URL input.
src/urllib3/exceptions.py:178
↓ 2 callersClassLogRecorder
test/__init__.py:243
↓ 2 callersClassMaxRetryError
Raised when the maximum number of retries is exceeded. :param pool: The connection pool :type pool: :class:`~urllib3.connectionpool.HTTPConne
src/urllib3/exceptions.py:85
↓ 2 callersClassModuleStash
Stashes away previously imported modules If we reimport a module the data from coverage is lost, so we reuse the old modules
test/__init__.py:315
↓ 2 callersClassProxyApp
dummyserver/asgi_proxy.py:30
↓ 2 callersClassProxySchemeUnsupported
Fetching HTTPS resources through HTTPS proxies is unsupported
src/urllib3/exceptions.py:306
↓ 2 callersClassServerConfig
test/conftest.py:51
↓ 2 callersClassSocketServerThread
:param socket_handler: Callable which receives a socket argument for one request. :param ready_event: Event which gets set when the s
dummyserver/socketserver.py:96
↓ 2 callersClassTimeoutError
Raised when a socket timeout error occurs. Catching this error will catch both :exc:`ReadTimeoutErrors <ReadTimeoutError>` and :exc:`ConnectT
src/urllib3/exceptions.py:121
↓ 2 callersClassTimeoutStateError
Raised when passing an invalid state to a timeout
src/urllib3/exceptions.py:117
↓ 2 callersClass_StreamingError
src/urllib3/contrib/emscripten/fetch.py:80
↓ 2 callersClass_TimeoutError
src/urllib3/contrib/emscripten/fetch.py:84
↓ 1 callersClassBadBody
test/with_dummyserver/test_poolmanager.py:676
↓ 1 callersClassBadSeek
test/test_util.py:619
↓ 1 callersClassBadTellObject
test/with_dummyserver/test_connectionpool.py:1378
↓ 1 callersClassBaseHTTPResponse
src/urllib3/response.py:300
↓ 1 callersClassBodyNotHttplibCompatible
Body should be :class:`http.client.HTTPResponse` like (have an fp attribute which returns raw chunks) for read_chunked().
src/urllib3/exceptions.py:240
↓ 1 callersClassBrotliDecoder
src/urllib3/response.py:148
↓ 1 callersClassChunksAndContentLength
src/urllib3/util/request.py:184
↓ 1 callersClassClosedFile
test/test_util.py:746
↓ 1 callersClassClosedPoolError
Raised when a request enters a pool after the pool has been closed.
src/urllib3/exceptions.py:174
↓ 1 callersClassConnectionPool
Base class for all connection pools, such as :class:`.HTTPConnectionPool` and :class:`.HTTPSConnectionPool`. .. note:: Connection
src/urllib3/connectionpool.py:67
↓ 1 callersClassDeflateDecoder
src/urllib3/response.py:78
↓ 1 callersClassEmscriptenHTTPConnection
src/urllib3/contrib/emscripten/connection.py:25
↓ 1 callersClassEmscriptenHTTPSConnection
src/urllib3/contrib/emscripten/connection.py:160
↓ 1 callersClassEmscriptenHttpResponseWrapper
src/urllib3/contrib/emscripten/response.py:30
↓ 1 callersClassEmscriptenRequest
src/urllib3/contrib/emscripten/request.py:9
↓ 1 callersClassFpFile
test/test_util.py:762
↓ 1 callersClassFullPoolError
Raised when we try to add a connection to a full pool in blocking mode.
src/urllib3/exceptions.py:170
↓ 1 callersClassGzipDecoder
src/urllib3/response.py:116
↓ 1 callersClassHTTP2Response
src/urllib3/http2.py:183
↓ 1 callersClassHTTPError
Base exception used by this module.
src/urllib3/exceptions.py:18
↓ 1 callersClassHTTPHeaderDictItemView
HTTPHeaderDict is unusual for a Mapping[str, str] in that it has two modes of address. If we directly try to get an item with a particul
src/urllib3/_collections.py:158
↓ 1 callersClassHostChangedError
Raised when an existing pool gets a request for a foreign host.
src/urllib3/exceptions.py:106
↓ 1 callersClassImportBlockerLoader
test/__init__.py:273
↓ 1 callersClassIncompleteRead
Response length doesn't match expected Content-Length Subclass of :class:`http.client.IncompleteRead` to allow int value for ``partial``
src/urllib3/exceptions.py:247
↓ 1 callersClassInvalidChunkLength
Invalid chunk length in a chunked response.
src/urllib3/exceptions.py:269
↓ 1 callersClassMockChunkedEncodingWithExtensions
test/test_response.py:1660
↓ 1 callersClassMockChunkedEncodingWithoutCRLFOnEnd
test/test_response.py:1651
↓ 1 callersClassMockChunkedIncompleteRead
test/test_response.py:1639
↓ 1 callersClassMockChunkedInvalidChunkLength
test/test_response.py:1644
↓ 1 callersClassMockChunkedNoChunks
test/test_response.py:1665
↓ 1 callersClassMockCompressedDataReading
A BytesIO-like reader returning ``payload`` in ``NUMBER_OF_READS`` calls to ``read``.
test/test_response.py:983
↓ 1 callersClassMockHTTPRequest
test/test_response.py:1202
↓ 1 callersClassMultiDecoder
From RFC7231: If one or more encodings have been applied to a representation, the sender that applied the encodings MUST generate
src/urllib3/response.py:188
↓ 1 callersClassNameResolutionError
Raised when host name resolution fails.
src/urllib3/exceptions.py:158
↓ 1 callersClassNoneFpFile
test/test_util.py:754
↓ 1 callersClassNotReallyAFile
test/test_util.py:770
↓ 1 callersClassProxyError
Raised when the connection to a proxy fails.
src/urllib3/exceptions.py:59
↓ 1 callersClassProxySchemeUnknown
ProxyManager does not support the supplied scheme
src/urllib3/exceptions.py:289
↓ 1 callersClassPyodideServerInfo
test/contrib/emscripten/conftest.py:196
↓ 1 callersClassRealBad
test/test_connectionpool.py:473
↓ 1 callersClassRecentlyUsedContainer
Provides a thread-safe dict-like container which maintains up to ``maxsize`` keys while throwing away the least-recently-used keys beyond
src/urllib3/_collections.py:65
↓ 1 callersClassResponseError
Used as a container for an error reason supplied in a MaxRetryError.
src/urllib3/exceptions.py:202
↓ 1 callersClassResponseNotChunked
Response needs to be chunked in order to read it as chunks.
src/urllib3/exceptions.py:236
↓ 1 callersClassServerRunnerInfo
test/contrib/emscripten/conftest.py:107
↓ 1 callersClassSocketProxyDummyServer
Simulates a proxy that performs a simple I/O loop on client/server socket.
test/test_ssltransport.py:272
↓ 1 callersClassURLSchemeUnknown
Raised when a URL input has an unsupported scheme.
src/urllib3/exceptions.py:192
↓ 1 callersClassUnrewindableBodyError
urllib3 encountered an error when trying to rewind a body
src/urllib3/exceptions.py:320
↓ 1 callersClassWrappedSocket
API-compatibility wrapper for Python OpenSSL's Connection-class.
src/urllib3/contrib/pyopenssl.py:274
↓ 1 callersClassZstdDecoder
src/urllib3/response.py:167
↓ 1 callersClass_ListHandler
test/__init__.py:234
↓ 1 callersClass_LockedObject
A wrapper class that hides a specific object behind a lock. The goal here is to provide a simple way to protect access to an object that
src/urllib3/http2.py:24
↓ 1 callersClass_ReadStream
src/urllib3/contrib/emscripten/fetch.py:92
↓ 1 callersClass_RequestError
src/urllib3/contrib/emscripten/fetch.py:66
↓ 1 callersClass_ResponseOptions
src/urllib3/_base_connection.py:19
↓ 1 callersClass_StreamingFetcher
src/urllib3/contrib/emscripten/fetch.py:194
↓ 1 callersClass_WrappedAndVerifiedSocket
Wrapped socket and whether the connection is verified after the TLS handshake
src/urllib3/connection.py:721
next →1–100 of 218, ranked by callers