Files
pyGoEdge-UserPanel/.venv/Lib/site-packages/urllib3/__pycache__/exceptions.cpython-312.pyc

60 lines
16 KiB
Plaintext
Raw Normal View History

2025-11-18 03:36:49 +08:00
<EFBFBD>
f<> i<>&<00><01><00>ddlmZddlZddlZddlZddlmZddlmZ ejrddl m Z ddl mZddlmZdd lmZGd
<EFBFBD>d e<13>ZGd <0C>d e<15>Zeej0defeedffZGd<0F>de<14>ZGd<11>de<1B>ZGd<13>de<14>ZGd<15>de<14>ZGd<17>de<14>ZGd<19>de<14>Z e Z!Gd<1B>de<1C>Z"Gd<1D>de<1C>Z#Gd<1F>d e<14>Z$Gd!<21>d"e<14>Z%Gd#<23>d$e%e<1C>Z&Gd%<25>d&e%<25>Z'Gd'<27>d(e'e<14>Z(Gd)<29>d*e(<28>Z)Gd+<2B>d,e<1B>Z*Gd-<2D>d.e<1B>Z+Gd/<2F>d0e<1B>Z,Gd1<64>d2e-e<14>Z.Gd3<64>d4e.<2E>Z/Gd5<64>d6e.<2E>Z0Gd7<64>d8e<14>Z1Gd9<64>d:e<16>Z2Gd;<3B>d<e2<65>Z3Gd=<3D>d>e2<65>Z4Gd?<3F>d@e2<65>Z5GdA<64>dBe2<65>Z6GdC<64>dDe<16>Z7GdE<64>dFe e-<2D>Z8GdG<64>dHe<14>Z9GdI<64>dJee <09>ZGdK<64>dLee <09>Z:GdM<64>dNe<14>Z;GdO<64>dPe<e0<65>Z=GdQ<64>dRe-<2D>Z>GdS<64>dTe<14>Z?GdU<64>dVe<14>Z@y)W<>)<01> annotationsN)<01> MessageDefect)<01>IncompleteRead<61>)<01>HTTPConnection)<01>ConnectionPool)<01> HTTPResponse)<01>Retryc<01><00>eZdZdZy)<03> HTTPErrorz#Base exception used by this module.N<><04>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__doc__<5F><00><00>AE:\Project\pygoedge\.venv\Lib\site-packages\urllib3/exceptions.pyr r s<00><00>-rr c<01><00>eZdZdZy)<03> HTTPWarningz!Base warning used by this module.Nr rrrrrs<00><00>+rr.c<01>,<00><00>eZdZdZd<04>fd<02> Zdd<03>Z<05>xZS)<06> PoolErrorz/Base exception for errors caused within a pool.c<01>J<00><01>||_||_t<00>|<00> |<01>d|<02><00><03>y<00>Nz: )<04>pool<6F>_message<67>super<65>__init__)<04>selfr<00>message<67> __class__s <20>rrzPoolError.__init__ <00>)<00><><00><18><04> <09><1F><04> <0A> <0A><07><18>D<EFBFBD>6<EFBFBD><12>G<EFBFBD>9<EFBFBD>-<2D>.rc<01>6<00>|jd|jffS<00>N<>r!r<00>rs r<00>
__reduce__zPoolError.__reduce__%<00><00><00><13>~<7E>~<7E><04>d<EFBFBD>m<EFBFBD>m<EFBFBD>4<>4<>4r)rrr <00>str<74>return<72>None<6E>r*<00>_TYPE_REDUCE_RESULT<4C>rrrrrr'<00> __classcell__<5F>r!s@rrrs<00><><00>9<>/<2F>
5rrc<01>,<00><00>eZdZdZd<04>fd<02> Zdd<03>Z<05>xZS)<06> RequestErrorz8Base exception for PoolErrors that have associated URLs.c<01>4<00><01>||_t<00>|<00> ||<03>yr$)<03>urlrr)rrr4r r!s <20>rrzRequestError.__init__-s<00><><00><16><04><08> <0A><07><18><14>w<EFBFBD>'rc<01>L<00>|jd|j|jffSr$)r!r4rr&s rr'zRequestError.__reduce__1s <00><00><13>~<7E>~<7E><04>d<EFBFBD>h<EFBFBD>h<EFBFBD><04> <0A> <0A>><3E>><3E>>r)rrr4r)r r)r*r+r,r.r0s@rr2r2*s<00><><00>B<>(<28>?rr2c<01><00>eZdZdZy)<03>SSLErrorz9Raised when SSL certificate fails in an HTTPS connection.Nr rrrr7r76<00><00><00>Crr7c<01>0<00><00>eZdZUdZded<d<05>fd<04> Z<05>xZS)<06>
ProxyErrorz,Raised when the connection to a proxy fails.<2E> Exception<6F>original_errorc<01>4<00><01>t<00>|<00>||<02>||_yr$)rrr<)rr <00>errorr!s <20>rrzProxyError.__init__@s<00><><00> <0A><07><18><17>%<25>(<28>#<23><04>r)r r)r>r;r*r+)rrrr<00>__annotations__rr/r0s@rr:r::s<00><><00>6<><1E><1D>$<24>$rr:c<01><00>eZdZdZy)<03> DecodeErrorz;Raised when automatic decoding based on Content-Type fails.Nr rrrrArAE<00><00><00>ErrAc<01><00>eZdZdZy)<03> ProtocolErrorz>Raised when something unexpected happens mid-request/response.Nr rrrrDrDIs<00><00>HrrDc<01>><00><00>eZdZdZ d d<05>fd<02> Zdd<03>Z<05>xZS)<07> 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`
c<01>H<00><01>||_d|<02>d|<03>d<03>}t<00>|<00> |||<04>y)NzMax retries exceeded with url: z (Caused by <20>))<03>reasonrr)rrr4rIr r!s <20>rrzMaxRetryError.__init___s1<00><><00><1D><04> <0B>3<>C<EFBFBD>5<EFBFBD> <0C>V<EFBFBD>J<EFBFBD>a<EFBFBD>P<><07> <0A><07><18><14>s<EFBFBD>G<EFBFBD>,rc<01>L<00>|jd|j|jffSr$)r!r4rIr&s rr'zMaxRetryError.__reduce__hs <00><00><13>~<7E>~<7E><04>d<EFBFBD>h<EFBFBD>h<EFBFBD><04> <0B> <0B><<3C><<3C><rr$)rrr4r)rIzException | Noner*r+r,r.r0s@rrFrFTs9<00><><00><08>JN<01>-<2D>"<22>-<2D>),<2C>-<2D>6F<36>-<2D> <0A>-<2D>=rrFc<01>6<00><00>eZdZdZ d d<04>fd<02> Z<04>xZS)<05>HostChangedErrorz?Raised when an existing pool gets a request for a foreign host.c<01>@<00><01>d|<02><00>}t<00>|<00>|||<04>||_y)Nz'Tried to open a foreign host with url: )rr<00>retries)rrr4rNr r!s <20>rrzHostChangedError.__init__ps)<00><><00><<3C>C<EFBFBD>5<EFBFBD>A<><07> <0A><07><18><14>s<EFBFBD>G<EFBFBD>,<2C><1E><04> r)<01>)rrr4r)rNz Retry | intr*r+<00>rrrrrr/r0s@rrLrLms7<00><><00>I<>FG<01><1F>"<22><1F>),<2C><1F>7B<37><1F> <0A><1F>rrLc<01><00>eZdZdZy)<03>TimeoutStateErrorz1Raised when passing an invalid state to a timeoutNr rrrrRrRxs<00><00>;rrRc<01><00>eZdZdZy)<03> TimeoutErrorz<72>Raised when a socket timeout error occurs.
Catching this error will catch both :exc:`ReadTimeoutErrors
<ReadTimeoutError>` and :exc:`ConnectTimeoutErrors <ConnectTimeoutError>`.
Nr rrrrTrT|s<00><00>rrTc<01><00>eZdZdZy)<03>ReadTimeoutErrorzFRaised when a socket timeout occurs while receiving data from a serverNr rrrrVrV<00>s<00><00>PrrVc<01><00>eZdZdZy)<03>ConnectTimeoutErrorz@Raised when a socket timeout occurs while connecting to a serverNr rrrrXrX<00>s<00><00>JrrXc<01>><00><00>eZdZdZd<05>fd<02> Zdd<03>Zedd<04><04>Z<07>xZS)<08>NewConnectionErrorzHRaised when we fail to establish a new connection. Usually ECONNREFUSED.c<01>J<00><01>||_||_t<00>|<00> |<01>d|<02><00><03>yr)<04>connrrr)rr\r r!s <20>rrzNewConnectionError.__init__<5F>r"rc<01>6<00>|jd|jffSr$r%r&s rr'zNewConnectionError.__reduce__<5F>r(rc<01>R<00>tjdtd<02><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>DeprecationWarningr\r&s rrzNewConnectionError.pool<6F>s%<00><00><10> <0A> <0A> 5<> <1E><18> 
<EFBFBD><14>y<EFBFBD>y<EFBFBD>r)r\rr r)r*r+r,)r*r) rrrrrr'<00>propertyrr/r0s@rrZrZ<00>s$<00><><00>R<>/<2F>
5<><0E><19><0E>rrZc<01>,<00><00>eZdZdZd<04>fd<02> Zdd<03>Z<05>xZS)<06>NameResolutionErrorz'Raised when host name resolution fails.c<01>T<00><01>d|<01>d|<03>d<03>}||_||_t<00>|<00> ||<04>y)NzFailed to resolve 'z' (rH)<04>_host<73>_reasonrr)r<00>hostr\rIr r!s <20>rrzNameResolutionError.__init__<5F>s4<00><><00>'<27><04>v<EFBFBD>S<EFBFBD><16><08><01>:<3A><07><19><04>
<EFBFBD><1D><04> <0C> <0A><07><18><14>w<EFBFBD>'rc<01>L<00>|j|jd|jffSr$)r!rhrir&s rr'zNameResolutionError.__reduce__<5F>s <00><00><13>~<7E>~<7E><04>
<EFBFBD>
<EFBFBD>D<EFBFBD>$<24>,<2C>,<2C>?<3F>?<3F>?r)rjr)r\rrIzsocket.gaierrorr,r.r0s@rrfrf<00>s<00><><00>1<>(<28> @rrfc<01><00>eZdZdZy)<03>EmptyPoolErrorzCRaised when a pool runs out of connections and no more are allowed.Nr rrrrmrm<00><00><00><00>Mrrmc<01><00>eZdZdZy)<03> FullPoolErrorzGRaised when we try to add a connection to a full pool in blocking mode.Nr rrrrprp<00>s<00><00>Qrrpc<01><00>eZdZdZy)<03>ClosedPoolErrorzCRaised when a request enters a pool after the pool has been closed.Nr rrrrrrr<00>rnrrrc<01><00>eZdZdZy)<03>LocationValueErrorz<Raised when there is something wrong with a given URL input.Nr rrrrtrt<00>s<00><00>Frrtc<01>$<00><00>eZdZdZd<03>fd<02> Z<04>xZS)<04>LocationParseErrorz=Raised when get_host or similar fails to parse the URL input.c<01><<00><01>d|<01><00>}t<00>|<00>|<02>||_y)NzFailed to parse: )rr<00>location)rrxr r!s <20>rrzLocationParseError.__init__<5F>s#<00><><00>%<25>h<EFBFBD>Z<EFBFBD>0<><07> <0A><07><18><17>!<21> <20><04> r)rxr)r*r+rPr0s@rrvrv<00>s<00><><00>G<>!<21>!rrvc<01>$<00><00>eZdZdZd<03>fd<02> Z<04>xZS)<04>URLSchemeUnknownz2Raised when a URL input has an unsupported scheme.c<01><<00><01>d|<01><00>}t<00>|<00>|<02>||_y)NzNot supported URL scheme )rr<00>scheme<6D>rr|r r!s <20>rrzURLSchemeUnknown.__init__<5F>s#<00><><00>-<2D>f<EFBFBD>X<EFBFBD>6<><07> <0A><07><18><17>!<21><1C><04> r)r|r)rPr0s@rrzrz<00>s<00><><00><<3C><1D>rrzc<01><00>eZdZdZdZdZy)<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_ERRORrrrrr<00>s<00><00>N<>.<2E>M<EFBFBD>=<3D>Nrrc<01><00>eZdZdZy)<03>SecurityWarningz0Warned when performing security reducing actionsNr rrrr<>r<><00><00><00><00>:rr<>c<01><00>eZdZdZy)<03>InsecureRequestWarningz/Warned when making an unverified HTTPS request.Nr rrrr<>r<><00>s<00><00>9rr<>c<01><00>eZdZdZy)<03>NotOpenSSLWarningz)Warned when using unsupported SSL libraryNr rrrr<>r<><00>s<00><00>3rr<>c<01><00>eZdZdZy)<03>SystemTimeWarningz0Warned when system time is suspected to be wrongNr rrrr<>r<><00>r<>rr<>c<01><00>eZdZdZy)<03>InsecurePlatformWarningzIWarned when certain TLS/SSL configuration is not available on a platform.Nr rrrr<>r<><00>s<00><00>Srr<>c<01><00>eZdZdZy)<03>DependencyWarningzc
Warned when an attempt is made to import a module with missing optional
dependencies.
Nr rrrr<>r<><00><00><00><00>rr<>c<01><00>eZdZdZy)<03>ResponseNotChunkedz;Response needs to be chunked in order to read it as chunks.Nr rrrr<>r<><00>rBrr<>c<01><00>eZdZdZy)<03>BodyNotHttplibCompatiblez<65>
Body should be :class:`http.client.HTTPResponse` like
(have an fp attribute which returns raw chunks) for read_chunked().
Nr rrrr<>r<><00>r<>rr<>c<01>6<00>eZdZUdZded<ded<dd<05>Zd d<06>Zy)
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>expectedc<01> <00>||_||_yr$<00>r<>r<>)rr<>r<>s rrzIncompleteRead.__init__s<00><00><1E><04> <0C> <20><04> rc<01>8<00>d|j|jfzS)Nz/IncompleteRead(%i bytes read, %i more expected)r<>r&s r<00>__repr__zIncompleteRead.__repr__s#<00><00>@<40> <10>L<EFBFBD>L<EFBFBD> <10>M<EFBFBD>M<EFBFBD>D
<EFBFBD>
<EFBFBD>
rN)r<>r<>r<>r<>r*r+<00>r*r))rrrrr?rr<>rrrrrs<00><00><08><11>L<EFBFBD><11>M<EFBFBD>!<21>
rrc<01> <00>eZdZdZdd<02>Zdd<03>Zy)<07>InvalidChunkLengthz+Invalid chunk length in a chunked response.c<01>l<00>|j<00>|_|j|_||_||_yr$)<06>tellr<6C><00>length_remainingr<67><00>response<73>length)rr<>r<>s rrzInvalidChunkLength.__init__s*<00><00>$<24>M<EFBFBD>M<EFBFBD>O<EFBFBD><04> <0C>$,<2C>$=<3D>$=<3D><04> <0A> <20><04> <0A><1C><04> rc<01>8<00>d|j|jfzS)Nz0InvalidChunkLength(got length %r, %i bytes read))r<>r<>r&s rr<>zInvalidChunkLength.__repr__$s#<00><00>A<> <10>K<EFBFBD>K<EFBFBD> <10>L<EFBFBD>L<EFBFBD>E
<EFBFBD>
<EFBFBD>
rN)r<>r r<><00>bytesr*r+r<>)rrrrrr<>rrrr<>r<>s<00><00>5<><1D> 
rr<>c<01><00>eZdZdZy)<03> InvalidHeaderz(The header provided was somehow invalid.Nr rrrr<>r<>+s<00><00>2rr<>c<01>$<00><00>eZdZdZd<03>fd<02> Z<04>xZS)<04>ProxySchemeUnknownz1ProxyManager does not support the supplied schemec<01>H<00><01>|dk(rd}|<01>d}nd|<01>d<04>}t<00>|<00>|<02>y)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>rrr}s <20>rrzProxySchemeUnknown.__init__4s8<00><><00> <12>[<5B> <20><19>F<EFBFBD> <11>><3E>V<>G<EFBFBD>9<>&<26><18>Aa<41>b<>G<EFBFBD> <0A><07><18><17>!r)r|z
str | Noner*r+rPr0s@rr<>r<>/s<00><><00>;<3B> "<22> "rr<>c<01><00>eZdZdZy)<03>ProxySchemeUnsupportedz=Fetching HTTPS resources through HTTPS proxies is unsupportedNr rrrr<>r<>@s<00><00>Grr<>c<01>0<00><00>eZdZdZ d<03>fd<02> Z<04>xZS)<04>HeaderParsingErrorzNRaised by assert_header_parsing, but we convert it to a log.warning statement.c<01>:<00><01>|xsd<01>d|<02><02>}t<00>|<00>|<03>y)N<>Unknownz, unparsed data: r<>)r<00>defects<74> unparsed_datar r!s <20>rrzHeaderParsingError.__init__Gs*<00><><00><1D>)<29> <09>*<2A>*;<3B>M<EFBFBD>;L<>M<><07> <0A><07><18><17>!r)r<>zlist[MessageDefect]r<>zbytes | str | Noner*r+rPr0s@rr<>r<>Ds(<00><><00>X<>"<22>*<2A>"<22>;M<>"<22> <0A>"<22>"rr<>c<01><00>eZdZdZy)<03>UnrewindableBodyErrorz9urllib3 encountered an error when trying to rewind a bodyNr rrrr<>r<>Nr8rr<>)A<>
__future__r<00>socket<65>typingra<00> email.errorsr<00> http.clientr<00>httplib_IncompleteRead<61> TYPE_CHECKING<4E>
connectionr<00>connectionpoolrr<>r <00>
util.retryr
r;r <00>Warningr<00>tuple<6C>Callable<6C>objectr-rr2r7r:rArD<00>ConnectionErrorrFrLrRrTrVrXrZrfrmrprr<00>
ValueErrorrtrvrzrr<>r<>r<>r<>r<>r<>r<>r<>r<>r<><00>AssertionErrorr<72>r<>r<>r<>rrr<00><module>r<>sT<00><01>"<22> <0A> <0A><0F>&<26>@<40> <09><17><17>*<2A>.<2E>&<26>!<21>
.<2E> <09>.<2E>,<2C>'<27>,<2C><1C>F<EFBFBD>O<EFBFBD>O<EFBFBD>C<EFBFBD><16>K<EFBFBD>8<>%<25><06><03> <0B>:L<>L<>M<><13>
5<> <09>
5<> ?<3F>9<EFBFBD> ?<3F>D<01>y<EFBFBD>D<01>$<24><19>$<24>F<01>)<29>F<01>I<01>I<EFBFBD>I<01>
 <20><0F> =<3D>L<EFBFBD>=<3D>2<1F>|<7C><1F><<3C> <09><<3C><08>9<EFBFBD><08>Q<01>|<7C>\<5C>Q<01> K<01>,<2C>K<01><19>,<2C>i<EFBFBD><19>0 @<01>,<2C> @<01>N<01>Y<EFBFBD>N<01>R<01>I<EFBFBD>R<01>N<01>i<EFBFBD>N<01>G<01><1A>Y<EFBFBD>G<01>!<21>+<2B>!<21><1D>)<29><1D>><3E>I<EFBFBD>><3E>;<3B>k<EFBFBD>;<3B>:<3A>_<EFBFBD>:<3A>4<><0F>4<>;<3B><0F>;<3B>T<01>o<EFBFBD>T<01><08> <0B><08>F<01><1D>
<EFBFBD>F<01><08>y<EFBFBD><08>
<EFBFBD>Y<EFBFBD> 6<>
<EFBFBD>, 
<EFBFBD><19>$:<3A> 
<EFBFBD> 3<>I<EFBFBD>3<>"<22><1E>)9<>"<22>"H<01>Z<EFBFBD>H<01>"<22><19>"<22>D<01>I<EFBFBD>Dr