collections.abc.MutableMapping
httpx.Cookies
- HTTP Cookies, as a mutable mapping.enum.Enum
httpx._client.ClientState
- Undocumentedenum.IntEnum
httpx.codes
- HTTP status codes and reason phrasesException
httpx.CookieConflict
- Attempted to lookup a cookie by name, but multiple cookies existed.httpx.HTTPError
- Base class for RequestError
and HTTPStatusError
.httpx.HTTPStatusError
- The response had an error HTTP status of 4xx or 5xx.httpx.RequestError
- Base class for all exceptions that may occur when issuing a .request()
.httpx.DecodingError
- Decoding of the response failed, due to a malformed encoding.httpx.TooManyRedirects
- Too many redirects.httpx.TransportError
- Base class for all exceptions that occur at the level of the Transport API.httpx.NetworkError
- The base class for network-related errors.httpx.CloseError
- Failed to close a connection.httpx.ConnectError
- Failed to establish a connection.httpx.ReadError
- Failed to receive data from the network.httpx.WriteError
- Failed to send data through the network.httpx.ProtocolError
- The protocol was violated.httpx.LocalProtocolError
- A protocol was violated by the client.httpx.RemoteProtocolError
- The protocol was violated by the server.httpx.ProxyError
- An error occurred while establishing a proxy connection.httpx.TimeoutException
- The base class for timeout errors.httpx.ConnectTimeout
- Timed out while connecting to the host.httpx.PoolTimeout
- Timed out waiting to acquire a connection from the pool.httpx.ReadTimeout
- Timed out while receiving data from the host.httpx.WriteTimeout
- Timed out while sending data to the host.httpx.UnsupportedProtocol
- Attempted to make a request to an unsupported protocol.httpx.InvalidURL
- URL is improperly formed or cannot be parsed.httpx._client.BaseClient
- No class docstring; 6/9 properties, 0/12 instance variable, 10/22 methods documentedhttpx.AsyncClient
- An asynchronous HTTP client, with connection pooling, HTTP/2, redirects, cookie persistence, etc.httpx.Client
- An HTTP client, with connection pooling, HTTP/2, redirects, cookie persistence, etc.httpx._client.UseClientDefault
- For some parameters such as auth=...
and timeout=...
we need to be able to indicate the default "unset" state, in a way that is distinctly different to using None
.httpx._config.SSLConfig
- SSL Configuration.httpx._config.UnsetType
- Undocumentedhttpx._decoders.ByteChunker
- Handles returning byte content in fixed-size chunks.httpx._decoders.ContentDecoder
- Undocumentedhttpx._decoders.BrotliDecoder
- Handle 'brotli' decoding.httpx._decoders.DeflateDecoder
- Handle 'deflate' decoding.httpx._decoders.GZipDecoder
- Handle 'gzip' decoding.httpx._decoders.IdentityDecoder
- Handle unencoded data.httpx._decoders.MultiDecoder
- Handle the case where multiple encodings have been applied.httpx._decoders.LineDecoder
- Handles incrementally reading lines from text.httpx._decoders.TextChunker
- Handles returning text content in fixed-size chunks.httpx._decoders.TextDecoder
- Handles incrementally decoding bytes into texthttpx._multipart.DataField
- A single form field item, within a multipart form field.httpx._multipart.FileField
- A single file field item, within a multipart form field.httpx._transports.base.AsyncBaseTransport
httpx.MockTransport
- Undocumentedhttpx._transports.base.BaseTransport
httpx.MockTransport
- Undocumentedhttpx._utils.NetRCInfo
- Undocumentedhttpx._utils.Timer
- Undocumentedhttpx._utils.URLPattern
- A utility class currently used for making lookups against proxy keys...httpx.AsyncBaseTransport
- Undocumentedhttpx.ASGITransport
- A custom AsyncTransport that handles sending requests directly to an ASGI app. The simplest way to use this functionality is to use the app
argument.httpx.AsyncHTTPTransport
- Undocumentedhttpx.AsyncByteStream
- Undocumentedhttpx._client.BoundAsyncStream
- An async byte stream that is bound to a given response instance, and that ensures the response.elapsed
is set once the response is closed.httpx._content.AsyncIteratorByteStream
- Undocumentedhttpx._content.UnattachedStream
- If a request or response is serialized using pickle, then it is no longer attached to a stream for I/O purposes. Any stream operations should result in httpx.StreamClosed
.httpx._multipart.MultipartStream
- Request content as streaming multipart encoded form data.httpx._transports.asgi.ASGIResponseStream
- Undocumentedhttpx._transports.default.AsyncResponseStream
- Undocumentedhttpx.ByteStream
- Undocumentedhttpx.Auth
- Base class for all authentication schemes.httpx._auth.FunctionAuth
- Allows the 'auth' argument to be passed as a simple callable function, that takes the request, and returns a new, modified request.httpx.BasicAuth
- Allows the 'auth' argument to be passed as a (username, password) pair, and uses HTTP Basic authentication.httpx.DigestAuth
- No class docstring; 0/2 instance variable, 0/1 constant, 1/7 method documentedhttpx.BaseTransport
- No class docstring; 1/4 method documentedhttpx.HTTPTransport
- Undocumentedhttpx.WSGITransport
- A custom transport that handles sending requests directly to an WSGI app. The simplest way to use this functionality is to use the app
argument.httpx.Cookies._CookieCompatResponse
- Wraps a Request
instance up in a compatibility interface suitable for use with CookieJar
operations.httpx.Limits
- Configuration for limits to various client behaviors.httpx.Proxy
- Undocumentedhttpx.Request
- No class docstring; 0/1 property, 0/6 instance variable, 2/7 methods documentedhttpx.Response
- No class docstring; 14/20 properties, 0/14 instance variable, 12/23 methods documentedhttpx.SyncByteStream
- No class docstring; 2/3 methods documentedhttpx._client.BoundSyncStream
- A byte stream that is bound to a given response instance, and that ensures the response.elapsed
is set once the response is closed.httpx._content.IteratorByteStream
- Undocumentedhttpx._content.UnattachedStream
- If a request or response is serialized using pickle, then it is no longer attached to a stream for I/O purposes. Any stream operations should result in httpx.StreamClosed
.httpx._multipart.MultipartStream
- Request content as streaming multipart encoded form data.httpx._transports.default.ResponseStream
- Undocumentedhttpx._transports.wsgi.WSGIByteStream
- Undocumentedhttpx.ByteStream
- Undocumentedhttpx.Timeout
- Timeout configuration.httpx.URL
- url = httpx.URL("HTTPS://jo%40email.com:a%20secret@müller.de:1234/pa%20th?search=ab#anchorlink")logging.Logger
httpx._utils.Logger
- UndocumentedRuntimeError
httpx.StreamError
- The base class for stream exceptions.httpx.RequestNotRead
- Attempted to access streaming request content, without having called read()
.httpx.ResponseNotRead
- Attempted to access streaming response content, without having called read()
.httpx.StreamClosed
- Attempted to read or stream response content, but the request has been closed.httpx.StreamConsumed
- Attempted to read or stream content, but the content has already been streamed.typing.Mapping[str, str]
httpx.QueryParams
- URL query parameters, as a multi-dict.typing.MutableMapping[str, str]
httpx.Headers
- HTTP headers, as a case-insensitive multi-dict.typing.NamedTuple
httpx._auth._DigestAuthChallenge
- Undocumentedurllib.request.Request
httpx.Cookies._CookieCompatRequest
- Wraps a Request
instance up in a compatibility interface suitable for use with CookieJar
operations.