Files
old-parkingkoncept/parkingkonceptvenv/lib/python3.7/site-packages/urllib3/__pycache__/exceptions.cpython-37.pyc

158 lines
10 KiB
Plaintext
Raw Normal View History

2019-11-17 12:44:16 +01:00
B
#U<>]<5D><00>@sLddlmZddlmZGdd<05>de<05>ZGdd<07>de<07>ZGdd <09>d e<06>Z Gd
d <0B>d e <09>Z
Gd d <0A>d e<06>Z Gdd<0F>de<06>Z Gdd<11>de<06>Z Gdd<13>de<06>ZeZGdd<15>de
<EFBFBD>ZGdd<17>de
<EFBFBD>ZGdd<19>de<06>ZGdd<1B>de<06>ZGdd<1D>dee
<EFBFBD>ZGdd<1F>de<13>ZGd d!<21>d!ee <09>ZGd"d#<23>d#e <09>ZGd$d%<25>d%e <09>ZGd&d'<27>d'ee<06>ZGd(d)<29>d)e<1A>ZGd*d+<2B>d+e<06>ZGd,d-<2D>d-e<08>ZGd.d/<2F>d/e<1D>ZGd0d1<64>d1e<1D>ZGd2d3<64>d3e<1D>Z Gd4d5<64>d5e<1D>Z!Gd6d7<64>d7e<08>Z"Gd8d9<64>d9e<08>Z#Gd:d;<3B>d;ee<19>Z$Gd<d=<3D>d=e<06>Z%Gd>d?<3F>d?ee<04>ZGd@dA<64>dAe<06>Z&GdBdC<64>dCe'e<19>Z(GdDdE<64>dEe<06>Z)GdFdG<64>dGe<06>Z*dHS)I<>)<01>absolute_import<72>)<01>IncompleteReadc@seZdZdZdS)<03> HTTPErrorz#Base exception used by this module.N)<04>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__doc__<5F>r
r
<00>7/tmp/pip-install-zuyyrlx8/urllib3/urllib3/exceptions.pyrsrc@seZdZdZdS)<03> HTTPWarningz!Base warning used by this module.N)rrrr r
r
r
r r sr c@s eZdZdZdd<03>Zdd<05>ZdS)<07> PoolErrorz/Base exception for errors caused within a pool.cCs||_t<01>|d||f<00>dS)Nz%s: %s)<03>poolr<00>__init__)<03>selfr<00>messager
r
r rszPoolError.__init__cCs
|jdfS)N)NN)<01> __class__)rr
r
r <00>
__reduce__szPoolError.__reduce__N)rrrr rrr
r
r
r r sr c@s eZdZdZdd<03>Zdd<05>ZdS)<07> RequestErrorz8Base exception for PoolErrors that have associated URLs.cCs||_t<01>|||<03>dS)N)<03>urlr r)rrrrr
r
r r szRequestError.__init__cCs|jd|jdffS)N)rr)rr
r
r r$szRequestError.__reduce__N)rrrr rrr
r
r
r rsrc@seZdZdZdS)<03>SSLErrorz9Raised when SSL certificate fails in an HTTPS connection.N)rrrr r
r
r
r r)src@seZdZdZdS)<03>
ProxyErrorz,Raised when the connection to a proxy fails.N)rrrr r
r
r
r r.src@seZdZdZdS)<03> DecodeErrorz;Raised when automatic decoding based on Content-Type fails.N)rrrr r
r
r
r r3src@seZdZdZdS)<03> ProtocolErrorz>Raised when something unexpected happens mid-request/response.N)rrrr r
r
r
r r8src@seZdZdZddd<04>ZdS)<06> MaxRetryErrora Raised when the maximum number of retries is exceeded.
:param pool: The connection pool
:type pool: :class:`~urllib3.connectionpool.HTTPConnectionPool`
:param string url: The requested Url
:param exceptions.Exception reason: The underlying error
NcCs&||_d||f}t<01>||||<04>dS)Nz0Max retries exceeded with url: %s (Caused by %r))<03>reasonrr)rrrrrr
r
r rNs zMaxRetryError.__init__)N)rrrr rr
r
r
r rDsrc@seZdZdZddd<04>ZdS)<07>HostChangedErrorz?Raised when an existing pool gets a request for a foreign host.<2E>cCs"d|}t<00>||||<04>||_dS)Nz)Tried to open a foreign host with url: %s)rr<00>retries)rrrrrr
r
r rYszHostChangedError.__init__N)r)rrrr rr
r
r
r rVsrc@seZdZdZdS)<03>TimeoutStateErrorz3 Raised when passing an invalid state to a timeout N)rrrr r
r
r
r r_src@seZdZdZdS)<03> TimeoutErrorz<72> Raised when a socket timeout error occurs.
Catching this error will catch both :exc:`ReadTimeoutErrors
<ReadTimeoutError>` and :exc:`ConnectTimeoutErrors <ConnectTimeoutError>`.
N)rrrr r
r
r
r r esr c@seZdZdZdS)<03>ReadTimeoutErrorzFRaised when a socket timeout occurs while receiving data from a serverN)rrrr r
r
r
r r!osr!c@seZdZdZdS)<03>ConnectTimeoutErrorz@Raised when a socket timeout occurs while connecting to a serverN)rrrr r
r
r
r r"vsr"c@seZdZdZdS)<03>NewConnectionErrorzHRaised when we fail to establish a new connection. Usually ECONNREFUSED.N)rrrr r
r
r
r r#{sr#c@seZdZdZdS)<03>EmptyPoolErrorzCRaised when a pool runs out of connections and no more are allowed.N)rrrr r
r
r
r r$<00>sr$c@seZdZdZdS)<03>ClosedPoolErrorzCRaised when a request enters a pool after the pool has been closed.N)rrrr r
r
r
r r%<00>sr%c@seZdZdZdS)<03>LocationValueErrorz<Raised when there is something wrong with a given URL input.N)rrrr r
r
r
r r&<00>sr&c@seZdZdZdd<03>ZdS)<05>LocationParseErrorz=Raised when get_host or similar fails to parse the URL input.cCsd|}t<00>||<02>||_dS)NzFailed to parse: %s)rr<00>location)rr(rr
r
r r<00>s zLocationParseError.__init__N)rrrr rr
r
r
r r'<00>sr'c@seZdZdZdZdZdS)<05> ResponseErrorzDUsed as a container for an error reason supplied in a MaxRetryError.ztoo many error responsesz&too many {status_code} error responsesN)rrrr <00> GENERIC_ERROR<4F>SPECIFIC_ERRORr
r
r
r r)<00>sr)c@seZdZdZdS)<03>SecurityWarningz0Warned when performing security reducing actionsN)rrrr r
r
r
r r,<00>sr,c@seZdZdZdS)<03>SubjectAltNameWarningzBWarned when connecting to a host with a certificate missing a SAN.N)rrrr r
r
r
r r-<00>sr-c@seZdZdZdS)<03>InsecureRequestWarningz/Warned when making an unverified HTTPS request.N)rrrr r
r
r
r r.<00>sr.c@seZdZdZdS)<03>SystemTimeWarningz0Warned when system time is suspected to be wrongN)rrrr r
r
r
r r/<00>sr/c@seZdZdZdS)<03>InsecurePlatformWarningzEWarned when certain SSL configuration is not available on a platform.N)rrrr r
r
r
r r0<00>sr0c@seZdZdZdS)<03>SNIMissingWarningz9Warned when making a HTTPS request without SNI available.N)rrrr r
r
r
r r1<00>sr1c@seZdZdZdS)<03>DependencyWarningzc
Warned when an attempt is made to import a module with missing optional
dependencies.
N)rrrr r
r
r
r r2<00>sr2c@seZdZdZdS)<03>ResponseNotChunkedz;Response needs to be chunked in order to read it as chunks.N)rrrr r
r
r
r r3<00>sr3c@seZdZdZdS)<03>BodyNotHttplibCompatiblezz
Body should be httplib.HTTPResponse like (have an fp attribute which
returns raw chunks) for read_chunked().
N)rrrr r
r
r
r r4<00>sr4cs(eZdZdZ<03>fdd<03>Zdd<05>Z<05>ZS)rz<>
Response length doesn't match expected Content-Length
Subclass of http_client.IncompleteRead to allow int value
for `partial` to avoid creating large objects on streamed
reads.
cstt|<00><02>||<02>dS)N)<03>superrr)r<00>partial<61>expected)rr
r r<00>szIncompleteRead.__init__cCsd|j|jfS)Nz/IncompleteRead(%i bytes read, %i more expected))r6r7)rr
r
r <00>__repr__<5F>szIncompleteRead.__repr__)rrrr rr8<00> __classcell__r
r
)rr r<00>s rc@seZdZdZdS)<03> InvalidHeaderz(The header provided was somehow invalid.N)rrrr r
r
r
r r:<00>sr:cs eZdZdZ<03>fdd<03>Z<04>ZS)<04>ProxySchemeUnknownz1ProxyManager does not support the supplied schemecsd|}tt|<00><02>|<02>dS)NzNot supported proxy scheme %s)r5r;r)r<00>schemer)rr
r r<00>szProxySchemeUnknown.__init__)rrrr rr9r
r
)rr r;<00>sr;cs eZdZdZ<03>fdd<03>Z<04>ZS)<04>HeaderParsingErrorzNRaised by assert_header_parsing, but we convert it to a log.warning statement.cs$d|pd|f}tt|<00><02>|<03>dS)Nz%s, unparsed data: %r<>Unknown)r5r=r)r<00>defects<74> unparsed_datar)rr
r r<00>szHeaderParsingError.__init__)rrrr rr9r
r
)rr r=<00>sr=c@seZdZdZdS)<03>UnrewindableBodyErrorz9urllib3 encountered an error when trying to rewind a bodyN)rrrr r
r
r
r rA<00>srAN)+<2B>
__future__rZpackages.six.moves.http_clientr<00>httplib_IncompleteRead<61> Exceptionr<00>Warningr r rrrrr<00>ConnectionErrorrrrr r!r"r#r$r%<00>
ValueErrorr&r'r)r,r-r.r/r0r1r2r3r4r:<00>AssertionErrorr;r=rAr
r
r
r <00><module>sH