module documentation

Undocumented

Exception BodyNotHttplibCompatible Body should be :class:`http.client.HTTPResponse` like (have an fp attribute which returns raw chunks) for read_chunked().
Exception ClosedPoolError Raised when a request enters a pool after the pool has been closed.
Exception ConnectTimeoutError Raised when a socket timeout occurs while connecting to a server
Exception DecodeError Raised when automatic decoding based on Content-Type fails.
Exception DependencyWarning Warned when an attempt is made to import a module with missing optional dependencies.
Exception EmptyPoolError Raised when a pool runs out of connections and no more are allowed.
Exception HeaderParsingError Raised by assert_header_parsing, but we convert it to a log.warning statement.
Exception HostChangedError Raised when an existing pool gets a request for a foreign host.
Exception HTTPError Base exception used by this module.
Exception HTTPWarning Base warning used by this module.
Exception IncompleteRead Response length doesn't match expected Content-Length
Exception InsecurePlatformWarning Warned when certain TLS/SSL configuration is not available on a platform.
Exception InsecureRequestWarning Warned when making an unverified HTTPS request.
Exception InvalidChunkLength Invalid chunk length in a chunked response.
Exception InvalidHeader The header provided was somehow invalid.
Exception LocationParseError Raised when get_host or similar fails to parse the URL input.
Exception LocationValueError Raised when there is something wrong with a given URL input.
Exception MaxRetryError Raised when the maximum number of retries is exceeded.
Exception NewConnectionError Raised when we fail to establish a new connection. Usually ECONNREFUSED.
Exception PoolError Base exception for errors caused within a pool.
Exception ProtocolError Raised when something unexpected happens mid-request/response.
Exception ProxyError Raised when the connection to a proxy fails.
Exception ProxySchemeUnknown ProxyManager does not support the supplied scheme
Exception ProxySchemeUnsupported Fetching HTTPS resources through HTTPS proxies is unsupported
Exception ReadTimeoutError Raised when a socket timeout occurs while receiving data from a server
Exception RequestError Base exception for PoolErrors that have associated URLs.
Exception ResponseError Used as a container for an error reason supplied in a MaxRetryError.
Exception ResponseNotChunked Response needs to be chunked in order to read it as chunks.
Exception SecurityWarning Warned when performing security reducing actions
Exception SNIMissingWarning Warned when making a HTTPS request without SNI available.
Exception SSLError Raised when SSL certificate fails in an HTTPS connection.
Exception SubjectAltNameWarning Warned when connecting to a host with a certificate missing a SAN.
Exception SystemTimeWarning Warned when system time is suspected to be wrong
Exception TimeoutError Raised when a socket timeout error occurs.
Exception TimeoutStateError Raised when passing an invalid state to a timeout
Exception UnrewindableBodyError urllib3 encountered an error when trying to rewind a body
Exception URLSchemeUnknown Raised when a URL input has an unsupported scheme.