Files
old-saburly-wagtail-web/env/lib/python3.10/site-packages/urllib3/__pycache__/exceptions.cpython-310.pyc

83 lines
13 KiB
Plaintext
Raw Normal View History

2024-08-27 20:33:44 +02:00
o
<00><><EFBFBD>f<EFBFBD>$<00>@s
ddlmZddlZddlZddlZddlmZddlmZ ej
r9ddl m Z ddl mZddlmZdd lmZGd
d <0B>d e<13>ZGd d <0A>d e<15>ZejejdefejedffZGdd<10>de<14>ZGdd<12>de<1B>ZGdd<14>de<14>ZGdd<16>de<14>ZGdd<18>de<14>ZGdd<1A>de<14>Z e Z!Gdd<1C>de<1C>Z"Gdd<1E>de<1C>Z#Gdd <20>d e<14>Z$Gd!d"<22>d"e<14>Z%Gd#d$<24>d$e%e<1C>Z&Gd%d&<26>d&e%<25>Z'Gd'd(<28>d(e'e<14>Z(Gd)d*<2A>d*e(<28>Z)Gd+d,<2C>d,e<1B>Z*Gd-d.<2E>d.e<1B>Z+Gd/d0<64>d0e<1B>Z,Gd1d2<64>d2e-e<14>Z.Gd3d4<64>d4e.<2E>Z/Gd5d6<64>d6e.<2E>Z0Gd7d8<64>d8e<14>Z1Gd9d:<3A>d:e<16>Z2Gd;d<<3C>d<e2<65>Z3Gd=d><3E>d>e2<65>Z4Gd?d@<40>d@e2<65>Z5GdAdB<64>dBe2<65>Z6GdCdD<64>dDe<16>Z7GdEdF<64>dFe e-<2D>Z8GdGdH<64>dHe<14>Z9GdIdJ<64>dJee <09>ZGdKdL<64>dLee <09>Z:GdMdN<64>dNe<14>Z;GdOdP<64>dPe<e0<65>Z=GdQdR<64>dRe-<2D>Z>GdSdT<64>dTe<14>Z?GdUdV<64>dVe<14>Z@dS)W<>)<01> annotationsN)<01> MessageDefect)<01>IncompleteRead<61>)<01>HTTPConnection)<01>ConnectionPool)<01> HTTPResponse)<01>Retryc@<01>eZdZdZdS)<03> HTTPErrorz#Base exception used by this module.N<><04>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__doc__<5F>rr<00>T/home/amir/Desktop/saburlyweb/env/lib/python3.10/site-packages/urllib3/exceptions.pyr <00>r c@r
)<03> HTTPWarningz!Base warning used by this module.Nr rrrrrrr.cs,eZdZdZd <0A>fdd <09> Zdd d <0C>Z<05>ZS)<0F> PoolErrorz/Base exception for errors caused within a pool.<2E>poolr<00>message<67>str<74>return<72>Nonec<01> ||_t<01><00>|<01>d|<02><00><03>dS<00>Nz: )r<00>super<65>__init__)<03>selfrr<00><01> __class__rrr"<00>zPoolError.__init__<5F>_TYPE_REDUCE_RESULTcCs
|jdfS)N)NNr <00>rrrr<00>
__reduce__&s
zPoolError.__reduce__)rrrrrr<00>rr#<00>r rrrrr%<00> __classcell__rrr rr<00>rcs,eZdZdZd<0E>fd d
<EFBFBD> Zdd d <0A>Z<05>ZS)<10> RequestErrorz8Base exception for PoolErrors that have associated URLs.rr<00>urlrrrrcs||_t<01><00>||<03>dS<00>N)r+rr)rrr+rr rrr.szRequestError.__init__r#cCs|jd|jdffSr,)r!r+r$rrrr%2szRequestError.__reduce__)rrr+rrrrrr&r'rrr rr*+r)r*c@r
)<03>SSLErrorz9Raised when SSL certificate fails in an HTTPS connection.Nr rrrrr-7rr-cs,eZdZUdZded<d <0B>fd d
<EFBFBD> Z<05>ZS) <0C>
ProxyErrorz,Raised when the connection to a proxy fails.<2E> Exception<6F>original_errorrr<00>errorrrcst<00><00>||<02>||_dSr,)rrr0)rrr1r rrrAs
zProxyError.__init__)rrr1r/rr)r rrr<00>__annotations__rr(rrr rr.;s
r.c@r
)<03> DecodeErrorz;Raised when automatic decoding based on Content-Type fails.Nr rrrrr3Frr3c@r
)<03> ProtocolErrorz>Raised when something unexpected happens mid-request/response.Nr rrrrr4Jrr4c<01>&eZdZdZ d d<0E>fd d <0C> Z<04>ZS)<0F> MaxRetryErroraRaised when the maximum number of retries is exceeded.
:param pool: The connection pool
:type pool: :class:`~urllib3.connectionpool.HTTPConnectionPool`
:param str url: The requested Url
:param reason: The underlying error
:type reason: :class:`Exception`
Nrrr+r<00>reason<6F>Exception | Nonerrcs,||_d|<02>d|<03>d<03>}t<01><00>|||<04>dS)NzMax retries exceeded with url: z (Caused by <20>))r7rr)rrr+r7rr rrr`szMaxRetryError.__init__r,)rrr+rr7r8rr<00>r rrrrr(rrr rr6Us <18>r6cr5)<0F>HostChangedErrorz?Raised when an existing pool gets a request for a foreign host.<2E>rrr+r<00>retries<65> Retry | intrrcs$d|<02><00>}t<00><00>|||<04>||_dS)Nz'Tried to open a foreign host with url: )rrr=)rrr+r=rr rrrms

zHostChangedError.__init__)r<)rrr+rr=r>rrr:rrr rr;js<18>r;c@r
)<03>TimeoutStateErrorz1Raised when passing an invalid state to a timeoutNr rrrrr?urr?c@r
)<03> TimeoutErrorz<72>Raised when a socket timeout error occurs.
Catching this error will catch both :exc:`ReadTimeoutErrors
<ReadTimeoutError>` and :exc:`ConnectTimeoutErrors <ConnectTimeoutError>`.
Nr rrrrr@yrr@c@r
)<03>ReadTimeoutErrorzFRaised when a socket timeout occurs while receiving data from a serverNr rrrrrA<00>rrAc@r
)<03>ConnectTimeoutErrorz@Raised when a socket timeout occurs while connecting to a serverNr rrrrrB<00>rrBcs0eZdZdZd <0C>fdd <09> Zed d
d <0B><04>Z<06>ZS)<0E>NewConnectionErrorzHRaised when we fail to establish a new connection. Usually ECONNREFUSED.<2E>connrrrrrcrr)rDrr)rrDrr rrr<00>r"zNewConnectionError.__init__cCstjdtdd<03>|jS)Nz\The 'pool' property is deprecated and will be removed in urllib3 v2.1.0. Use 'conn' instead.<2E>)<01>
stacklevel)<04>warnings<67>warn<72>DeprecationWarningrDr$rrrr<00>s <06>zNewConnectionError.pool)rDrrrrr)rr)r rrrr<00>propertyrr(rrr rrC<00>s
rCc<01>"eZdZdZd
<EFBFBD>fdd <09> Z<04>ZS) <0B>NameResolutionErrorz'Raised when host name resolution fails.<2E>hostrrDrr7<00>socket.gaierrorcs$d|<01>d|<03>d<03>}t<00><00>||<04>dS)NzFailed to resolve 'z' (r9<00>rr)rrMrDr7rr rrr<00>szNameResolutionError.__init__)rMrrDrr7rNr:rrr rrL<00><00>rLc@r
)<03>EmptyPoolErrorzCRaised when a pool runs out of connections and no more are allowed.Nr rrrrrQ<00>rrQc@r
)<03> FullPoolErrorzGRaised when we try to add a connection to a full pool in blocking mode.Nr rrrrrR<00>rrRc@r
)<03>ClosedPoolErrorzCRaised when a request enters a pool after the pool has been closed.Nr rrrrrS<00>rrSc@r
)<03>LocationValueErrorz<Raised when there is something wrong with a given URL input.Nr rrrrrT<00>rrTc<01>"eZdZdZd<08>fdd<07> Z<04>ZS) <09>LocationParseErrorz=Raised when get_host or similar fails to parse the URL input.<2E>locationrrrc<01> d|<01><00>}t<00><00>|<02>||_dS)NzFailed to parse: )rrrW)rrWrr rrr<00><00>
 
zLocationParseError.__init__)rWrrrr:rrr rrV<00>rPrVcs"eZdZdZd<06>fdd<05> Z<04>ZS)<07>URLSchemeUnknownz2Raised when a URL input has an unsupported scheme.<2E>schemercrX)NzNot supported URL scheme )rrr[<00>rr[rr rrr<00>rYzURLSchemeUnknown.__init__)r[rr:rrr rrZ<00>rPrZc@seZdZdZdZdZdS)<05> ResponseErrorzDUsed as a container for an error reason supplied in a MaxRetryError.ztoo many error responsesz&too many {status_code} error responsesN)r rrr<00> GENERIC_ERROR<4F>SPECIFIC_ERRORrrrrr]<00>sr]c@r
)<03>SecurityWarningz0Warned when performing security reducing actionsNr rrrrr`<00>rr`c@r
)<03>InsecureRequestWarningz/Warned when making an unverified HTTPS request.Nr rrrrra<00>rrac@r
)<03>NotOpenSSLWarningz)Warned when using unsupported SSL libraryNr rrrrrb<00>rrbc@r
)<03>SystemTimeWarningz0Warned when system time is suspected to be wrongNr rrrrrc<00>rrcc@r
)<03>InsecurePlatformWarningzIWarned when certain TLS/SSL configuration is not available on a platform.Nr rrrrrd<00>rrdc@r
)<03>DependencyWarningzc
Warned when an attempt is made to import a module with missing optional
dependencies.
Nr rrrrre<00>rrec@r
)<03>ResponseNotChunkedz;Response needs to be chunked in order to read it as chunks.Nr rrrrrf<00>rrfc@r
)<03>BodyNotHttplibCompatiblez<65>
Body should be :class:`http.client.HTTPResponse` like
(have an fp attribute which returns raw chunks) for read_chunked().
Nr rrrrrg<00>rrgc@s6eZdZUdZded<ded<d dd<08>Zdd
d <0B>Zd S)rz<>
Response length doesn't match expected Content-Length
Subclass of :class:`http.client.IncompleteRead` to allow int value
for ``partial`` to avoid creating large objects on streamed reads.
<20>int<6E>partial<61>expectedrrcCs||_||_dSr,<00>rirj)rrirjrrrrs
zIncompleteRead.__init__rcC<01>d|j|jfS)Nz/IncompleteRead(%i bytes read, %i more expected)rkr$rrr<00>__repr__<00><06>zIncompleteRead.__repr__N)rirhrjrhrr<00>rr)r rrrr2rrmrrrrr<00>s

rc@s$eZdZdZddd <09>Zdd d <0C>Zd S)<10>InvalidChunkLengthz+Invalid chunk length in a chunked response.<2E>responser<00>length<74>bytesrrcCs"|<01><00>|_|j|_||_||_dSr,)<06>tellri<00>length_remainingrjrqrr)rrqrrrrrrs

zInvalidChunkLength.__init__rcCrl)Nz0InvalidChunkLength(got length %r, %i bytes read))rrrir$rrrrmrnzInvalidChunkLength.__repr__N)rqrrrrsrrro)r rrrrrmrrrrrp s
rpc@r
)<03> InvalidHeaderz(The header provided was somehow invalid.Nr rrrrrvrrvcrU) <09>ProxySchemeUnknownz1ProxyManager does not support the supplied schemer[<00>
str | Nonerrcs6|dkrd}|dur d}nd|<01>d<04>}t<00><00>|<02>dS)N<> localhostz>Proxy URL had no scheme, should start with http:// or https://z!Proxy URL had unsupported scheme z , should use http:// or https://rOr\r rrr&s  zProxySchemeUnknown.__init__)r[rxrrr:rrr rrw!srwc@r
)<03>ProxySchemeUnsupportedz=Fetching HTTPS resources through HTTPS proxies is unsupportedNr rrrrrz2rrzcrK) <0B>HeaderParsingErrorzNRaised by assert_header_parsing, but we convert it to a log.warning statement.<2E>defects<74>list[MessageDefect]<5D> unparsed_data<74>bytes | str | Nonerrcs"|pd<01>d|<02><02>}t<00><00>|<03>dS)N<>Unknownz, unparsed data: rO)rr|r~rr rrr9szHeaderParsingError.__init__)r|r}r~rrrr:rrr rr{6rPr{c@r
)<03>UnrewindableBodyErrorz9urllib3 encountered an error when trying to rewind a bodyNr rrrrr<>@rr<>)A<>
__future__r<00>socket<65>typingrG<00> email.errorsr<00> http.clientr<00>httplib_IncompleteRead<61> TYPE_CHECKING<4E>
connectionr<00>connectionpoolrrqr<00>
util.retryr r/r <00>Warningr<00>Tuple<6C>Callable<6C>objectr#rr*r-r.r3r4<00>ConnectionErrorr6r;r?r@rArBrCrLrQrRrS<00>
ValueErrorrTrVrZr]r`rarbrcrdrerfrgrprv<00>AssertionErrorrwrzr{r<>rrrr<00><module>sj       <04>