Files
serveur-d-authentification/venv/lib/python3.10/site-packages/urllib3/__pycache__/exceptions.cpython-310.pyc

80 lines
14 KiB
Plaintext
Raw Normal View History

o
2026-09-08 11:07:02 +00:00
l<><6C>j<EFBFBD>&<00>@sddlmZddlZddlZddlZddlmZddlmZ ej
r9ddl m Z ddl mZddlmZdd lmZGd
d <0B>d e<13>ZGd d <0A>d e<15>ZeejdefeedffZGdd<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>u/home/sorel/systeme_gestion_cerfig/serveur-d-authentification/venv/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<02><00>|<01>d|<02><00><03>dS<00>Nz: )r<00>_message<67>super<65>__init__)<03>selfrr<00><01> __class__rrr <00>zPoolError.__init__<5F>_TYPE_REDUCE_RESULTcC<01>|jd|jffS<00>N<>r"r<00>r rrr<00>
__reduce__%<00>zPoolError.__reduce__)rrrrrr<00>rr$<00>r rrrrr)<00> __classcell__rrr!rrsrcs,eZdZdZd<0F>fd
d <0B> Zdd d<0E>Z<05>ZS)<11> RequestErrorz8Base exception for PoolErrors that have associated URLs.rr<00>url<72>
str | Nonerrrrcs||_t<01><00>||<03>dSr&)r/rr)r rr/rr!rrr-szRequestError.__init__r$cC<01>|jd|j|jffSr&)r"r/rr(rrrr)1<00>zRequestError.__reduce__)rrr/r0rrrrr+r,rrr!rr.*sr.c@r
)<03>SSLErrorz9Raised when SSL certificate fails in an HTTPS connection.Nr rrrrr36rr3cs,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&)rrr6)r rr7r!rrr@s
zProxyError.__init__)rrr7r5rr)r rrr<00>__annotations__rr-rrr!rr4:s
r4c@r
)<03> DecodeErrorz;Raised when automatic decoding based on Content-Type fails.Nr rrrrr9Err9c@r
)<03> ProtocolErrorz>Raised when something unexpected happens mid-request/response.Nr rrrrr:Irr:cs0eZdZdZ dd<11>fd d <0C> Zddd<0F>Z<05>ZS)<13> 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/r0<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>))r<rr)r rr/r<rr!rrr_szMaxRetryError.__init__r$cCr1r&)r"r/r<r(rrrr)hr2zMaxRetryError.__reduce__r&)rrr/r0r<r=rrr+r,rrr!rr;Ts
 <10> r;cs&eZdZdZ d d<0E>fd d <0C> Z<04>ZS)<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: )rrrA)r rr/rArr!rrrps

zHostChangedError.__init__)r@)rrr/rrArBrr<00>r rrrrr-rrr!rr?ms<18>r?c@r
)<03>TimeoutStateErrorz1Raised when passing an invalid state to a timeoutNr rrrrrDxrrDc@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 rrrrrE|rrEc@r
)<03>ReadTimeoutErrorzFRaised when a socket timeout occurs while receiving data from a serverNr rrrrrF<00>rrFc@r
)<03>ConnectTimeoutErrorz@Raised when a socket timeout occurs while connecting to a serverNr rrrrrG<00>rrGcs:eZdZdZd<0F>fdd <09> Zdd d <0C>Zedd d<0E><04>Z<07>ZS)<12>NewConnectionErrorzHRaised when we fail to establish a new connection. Usually ECONNREFUSED.<2E>connrrrrrcrr)rIrrr)r rIrr!rrr<00>r#zNewConnectionError.__init__r$cCr%r&r'r(rrrr)<00>r*zNewConnectionError.__reduce__cCstjdtdd<03>|jS)NzZThe 'pool' property is deprecated and will be removed in urllib3 v3.0. Use 'conn' instead.<2E>)<01>
stacklevel)<04>warnings<67>warn<72> FutureWarningrIr(rrrr<00>s <06>zNewConnectionError.pool)rIrrrrrr+)rr) r rrrrr)<00>propertyrr-rrr!rrH<00>s 
rHcs,eZdZdZd<0E>fdd <09> Zdd d <0A>Z<05>ZS)<10>NameResolutionErrorz'Raised when host name resolution fails.<2E>hostrrIrr<<00>socket.gaierrorcs0d|<01>d|<03>d<03>}||_||_t<02><00>||<04>dS)NzFailed to resolve 'z' (r>)<04>_host<73>_reasonrr)r rQrIr<rr!rrr<00>szNameResolutionError.__init__rr$cCs|j|jd|jffSr&)r"rSrTr(rrrr)<00>r2zNameResolutionError.__reduce__)rQrrIrr<rRr+r,rrr!rrP<00>srPc@r
)<03>EmptyPoolErrorzCRaised when a pool runs out of connections and no more are allowed.Nr rrrrrU<00>rrUc@r
)<03> FullPoolErrorzGRaised when we try to add a connection to a full pool in blocking mode.Nr rrrrrV<00>rrVc@r
)<03>ClosedPoolErrorzCRaised when a request enters a pool after the pool has been closed.Nr rrrrrW<00>rrWc@r
)<03>LocationValueErrorz<Raised when there is something wrong with a given URL input.Nr rrrrrX<00>rrXc<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: )rrr[)r r[rr!rrr<00><00>
 
zLocationParseError.__init__)r[rrrrCrrr!rrZ<00><00>rZcs"eZdZdZd<06>fdd<05> Z<04>ZS)<07>URLSchemeUnknownz2Raised when a URL input has an unsupported scheme.<2E>schemercr\)NzNot supported URL scheme )rrr`<00>r r`rr!rrr<00>r]zURLSchemeUnknown.__init__)r`rrCrrr!rr_<00>r^r_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)r rrr<00> GENERIC_ERROR<4F>SPECIFIC_ERRORrrrrrb<00>srbc@r
)<03>SecurityWarningz0Warned when performing security reducing actionsNr rrrrre<00>rrec@r
)<03>InsecureRequestWarningz/Warned when making an unverified HTTPS request.Nr rrrrrf<00>rrfc@r
)<03>NotOpenSSLWarningz)Warned when using unsupported SSL libraryNr rrrrrg<00>rrgc@r
)<03>SystemTimeWarningz0Warned when system time is suspected to be wrongNr rrrrrh<00>rrhc@r
)<03>InsecurePlatformWarningzIWarned when certain TLS/SSL configuration is not available on a platform.Nr rrrrri<00>rric@r
)<03>DependencyWarningzc
Warned when an attempt is made to import a module with missing optional
dependencies.
Nr rrrrrj<00>rrjc@r
)<03>ResponseNotChunkedz;Response needs to be chunked in order to read it as chunks.Nr rrrrrk<00>rrkc@r
)<03>BodyNotHttplibCompatiblez<65>
Body should be :class:`http.client.HTTPResponse` like
(have an fp attribute which returns raw chunks) for read_chunked().
Nr rrrrrl<00>rrlc@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>rnro)r rnrorrrrs
zIncompleteRead.__init__rcC<01>d|j|jfS)Nz/IncompleteRead(%i bytes read, %i more expected)rpr(rrr<00>__repr__<00><06>zIncompleteRead.__repr__N)rnrmrormrr<00>rr)r rrrr8rrrrrrrrs

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>tellrn<00>length_remainingrorvrw)r rvrwrrrrs

zInvalidChunkLength.__init__rcCrq)Nz0InvalidChunkLength(got length %r, %i bytes read))rwrnr(rrrrr$rszInvalidChunkLength.__repr__N)rvrrwrxrrrt)r rrrrrrrrrrrus
ruc@r
)<03> InvalidHeaderz(The header provided was somehow invalid.Nr rrrrr{+rr{crY) <09>ProxySchemeUnknownz1ProxyManager does not support the supplied schemer`r0rrcs6|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://<2F>rrrar!rrr4s  zProxySchemeUnknown.__init__)r`r0rrrCrrr!rr|/sr|c@r
)<03>ProxySchemeUnsupportedz=Fetching HTTPS resources through HTTPS proxies is unsupportedNr rrrrr@rrcs"eZdZdZd
<EFBFBD>fdd <09> Z<04>ZS) <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: r~)r r<>r<>rr!rrrGszHeaderParsingError.__init__)r<>r<>r<>r<>rrrCrrr!rr<>Dr^r<>c@r
)<03>UnrewindableBodyErrorz9urllib3 encountered an error when trying to rewind a bodyNr rrrrr<>Nrr<>)A<>
__future__r<00>socket<65>typingrL<00> email.errorsr<00> http.clientr<00>httplib_IncompleteRead<61> TYPE_CHECKING<4E>
connectionr<00>connectionpoolrrvr<00>
util.retryr r5r <00>Warningr<00>tuple<6C>Callable<6C>objectr$rr.r3r4r9r:<00>ConnectionErrorr;r?rDrErFrGrHrPrUrVrW<00>
ValueErrorrXrZr_rbrerfrgrhrirjrkrlrur{<00>AssertionErrorr|rr<>r<>rrrr<00><module>sf