
    i+                     P   S SK r S SKJrJr  SSKJr  SSKJr   " S S\\5      r	 " S S	\	5      r
 " S
 S\	5      r " S S\	5      r " S S\	5      r " S S\\ R                  5      r " S S\	5      r " S S\5      r " S S\	5      r " S S\5      r " S S\	5      r " S S\5      r " S S\5      r " S  S!\	5      r " S" S#\\5      r " S$ S%\5      r " S& S'\	5      r " S( S)\	5      r " S* S+\	\5      r " S, S-\	\5      r " S. S/\	\5      r " S0 S1\	\5      r " S2 S3\5      r  " S4 S5\	5      r! " S6 S7\	5      r" " S8 S9\	\#5      r$ " S: S;\	5      r% " S< S=\	5      r& " S> S?\	5      r' " S@ SA\(5      r) " SB SC\)\*5      r+ " SD SE\)5      r,0 S \	_\RZ                  \_\R\                  \_\R^                  \_\R`                  \_\Rb                  \_\Rd                  \_\Rf                  \_\Rh                  \_\Rj                  \_\Rl                  \	_\Rn                  \	_\Rp                  \	_\Rr                  \_\Rt                  \_\Rv                  \'_\Rx                  \_0 \Rz                  \	_\R|                  \	_\R~                  \_\R                  \_\R                  \_\R                  \_\R                  \_\R                  \_\R                  \_\R                  \_\R                  \_\R                  \_\R                  \_\R                  \_\R                  \_\R                  \_\R                  \_E\R                  \\R                  \\R                  \\R                  \\R                  \\R                  \\R                  \0ErUSF\\\S    4   SG\V4SH jrWg)I    N)LiteralUnion   )	CurlECode)	CurlErrorc                   L   ^  \ rS rSrSr  SS\\\S   4   4U 4S jjjrSr	U =r
$ )RequestException   z-Base exception for curl_cffi.requests packager   codec                 :   > [         TU ]  " X/UQ70 UD6  X0l        g )N)super__init__response)selfmsgr   r   argskwargs	__class__s         J/app/mltbenv/lib/python3.13/site-packages/curl_cffi/requests/exceptions.pyr   RequestException.__init__   s!     	4T4V4     )r   )r   N)__name__
__module____qualname____firstlineno____doc__r   r   r   r   __static_attributes____classcell__)r   s   @r   r	   r	      s0    7
 ./		! Iwqz)*	! 	!r   r	   c                       \ rS rSrSrSrg)CookieConflict   z)Same cookie exists for different domains. Nr   r   r   r   r   r   r"   r   r   r    r       s    3r   r    c                       \ rS rSrSrSrg)SessionClosed    z$The session has already been closed.r"   Nr#   r"   r   r   r%   r%       s    .r   r%   c                       \ rS rSrSrSrg)ImpersonateError$   z7The impersonate config was wrong or impersonate failed.r"   Nr#   r"   r   r   r(   r(   $       Ar   r(   c                       \ rS rSrSrSrg)InvalidJSONError)   zA JSON error occurred. not usedr"   Nr#   r"   r   r   r,   r,   )   s    )r   r,   c                       \ rS rSrSrSrg)JSONDecodeError.   z,Couldn't decode the text into json. not usedr"   Nr#   r"   r   r   r/   r/   .       6r   r/   c                       \ rS rSrSrSrg)	HTTPError2   zAn HTTP error occurred.r"   Nr#   r"   r   r   r3   r3   2       !r   r3   c                       \ rS rSrSrSrg)IncompleteRead6   zIncomplete read of contentr"   Nr#   r"   r   r   r7   r7   6   s    $r   r7   c                       \ rS rSrSrSrg)ConnectionError:   zA Connection error occurred.r"   Nr#   r"   r   r   r:   r:   :   s    &r   r:   c                       \ rS rSrSrSrg)DNSError>   zCould not resolver"   Nr#   r"   r   r   r=   r=   >   s    r   r=   c                       \ rS rSrSrSrg)
ProxyErrorB   zA proxy error occurred.r"   Nr#   r"   r   r   r@   r@   B   r5   r   r@   c                       \ rS rSrSrSrg)SSLErrorF   zAn SSL error occurred.r"   Nr#   r"   r   r   rC   rC   F        r   rC   c                       \ rS rSrSrSrg)CertificateVerifyErrorJ   z,Raised when certificate validated has failedr"   Nr#   r"   r   r   rG   rG   J   r1   r   rG   c                       \ rS rSrSrSrg)TimeoutN   zThe request timed out.r"   Nr#   r"   r   r   rJ   rJ   N   rE   r   rJ   c                       \ rS rSrSrSrg)ConnectTimeoutS   zThe request timed out while trying to connect to the remote server.

Requests that produced this error are safe to retry.

not used
r"   Nr#   r"   r   r   rM   rM   S   s    r   rM   c                       \ rS rSrSrSrg)ReadTimeout]   zIThe server did not send any data in the allotted amount of time. not usedr"   Nr#   r"   r   r   rP   rP   ]   s    Sr   rP   c                       \ rS rSrSrSrg)URLRequiredb   z3A valid URL is required to make a request. not usedr"   Nr#   r"   r   r   rS   rS   b   s    =r   rS   c                       \ rS rSrSrSrg)TooManyRedirectsf   zToo many redirects.r"   Nr#   r"   r   r   rV   rV   f   s    r   rV   c                       \ rS rSrSrSrg)MissingSchemak   z8The URL scheme (e.g. http or https) is missing. not usedr"   Nr#   r"   r   r   rY   rY   k   s    Br   rY   c                       \ rS rSrSrSrg)InvalidSchemao   zBThe URL scheme provided is either invalid or unsupported. not usedr"   Nr#   r"   r   r   r\   r\   o   s    Lr   r\   c                       \ rS rSrSrSrg)
InvalidURLs   z%The URL provided was somehow invalid.r"   Nr#   r"   r   r   r_   r_   s       /r   r_   c                       \ rS rSrSrSrg)InvalidHeaderx   z7The header value provided was somehow invalid. not usedr"   Nr#   r"   r   r   rc   rc   x   r*   r   rc   c                       \ rS rSrSrSrg)InvalidProxyURL}   z+The proxy URL provided is invalid. not usedr"   Nr#   r"   r   r   rf   rf   }       5r   rf   c                       \ rS rSrSrSrg)ChunkedEncodingError   zHThe server declared chunked encoding but sent an invalid chunk. not usedr"   Nr#   r"   r   r   rj   rj      s    Rr   rj   c                       \ rS rSrSrSrg)ContentDecodingError   z+Failed to decode response content. not usedr"   Nr#   r"   r   r   rm   rm      rh   r   rm   c                       \ rS rSrSrSrg)StreamConsumedError   z<The content for this response was already consumed. not usedr"   Nr#   r"   r   r   rp   rp      s    Fr   rp   c                       \ rS rSrSrSrg)
RetryError   z%Custom retries logic failed. not usedr"   Nr#   r"   r   r   rs   rs      ra   r   rs   c                       \ rS rSrSrSrg)UnrewindableBodyError   zDRequests encountered an error when trying to rewind a body. not usedr"   Nr#   r"   r   r   rv   rv      s    Nr   rv   c                       \ rS rSrSrSrg)InterfaceError   z1A specified outgoing interface could not be used.r"   Nr#   r"   r   r   ry   ry      s    ;r   ry   c                       \ rS rSrSrSrg)RequestsWarning   z#Base warning for Requests. not usedr"   Nr#   r"   r   r   r|   r|      s    -r   r|   c                       \ rS rSrSrSrg)FileModeWarning   zSA file was opened in text mode, but Requests determined its binary length.
not usedr"   Nr#   r"   r   r   r   r      s    r   r   c                       \ rS rSrSrSrg)RequestsDependencyWarning   z@An imported dependency doesn't match the expected version range.r"   Nr#   r"   r   r   r   r      s    Jr   r   r   r   c                 v    U [         R                  :X  a  SU;   a  [        $ [        R	                  U [
        5      $ )NCONNECT)r   
RECV_ERRORr@   
CODE2ERRORgetr	   )r   r   s     r   
code2errorr      s/    y###	S(8>>$ 011r   )Xjsontypingr   r   constr   curlr   OSErrorr	   r    r%   r(   r,   r/   r3   r7   r:   r=   r@   rC   rG   rJ   rM   rP   rS   rV   
ValueErrorrY   r\   r_   rc   rf   rj   rm   	TypeErrorrp   rs   rv   ry   Warningr|   DeprecationWarningr   r   UNSUPPORTED_PROTOCOLURL_MALFORMATCOULDNT_RESOLVE_PROXYCOULDNT_RESOLVE_HOSTCOULDNT_CONNECTWEIRD_SERVER_REPLYREMOTE_ACCESS_DENIEDHTTP2HTTP_RETURNED_ERRORWRITE_ERROR
READ_ERROROUT_OF_MEMORYOPERATION_TIMEDOUTSSL_CONNECT_ERRORINTERFACE_FAILEDTOO_MANY_REDIRECTSUNKNOWN_OPTIONSETOPT_OPTION_SYNTAXGOT_NOTHINGSSL_ENGINE_NOTFOUNDSSL_ENGINE_SETFAILED
SEND_ERRORr   SSL_CERTPROBLEM
SSL_CIPHERPEER_FAILED_VERIFICATIONBAD_CONTENT_ENCODINGSSL_ENGINE_INITFAILEDSSL_CACERT_BADFILESSL_CRL_BADFILESSL_ISSUER_ERRORSSL_PINNEDPUBKEYNOTMATCHSSL_INVALIDCERTSTATUSHTTP2_STREAMHTTP3QUIC_CONNECT_ERRORPROXYSSL_CLIENTCERTECH_REQUIREDPARTIAL_FILEr   strr   r"   r   r   <module>r      s  
  !  !y' !4% 4/$ /B' B
*' *
7&(<(< 7"  "%Y %'& ' "! "! !7X 7! !
_g T' T
>" >' 
C$j CM$j M0!: 0
B$j B
6j 6
S+ S
6+ 6
G*I G
0! 0
O, O<% <.g .
o'9 K K**""M* Z* ##Z	*
 ""H* *   /* ""O* OOY* !!9* +* ** -*   '* *  !*"   "2#*$ .%*& ""$4'*( ?)** !!8+*, ""H-*. //*0 /1*2 x3*4 (5*6 &&(>7*8 ""I9*: ##X;*<   (=*> x?*@ A*B &&C*D ##XE*F IOOY  /OOZhHNS*
^2U9gaj01 2 2r   