Sindbad~EG File Manager

Current Path : /usr/local/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/
Upload File :
Current File : //usr/local/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/exceptions.cpython-312.pyc

�

4Μg ��\�ddlmZddlmZGd�de�ZGd�de�ZGd�d	e�Z	Gd
�de	�Z
Gd�d
e�ZGd�de�ZGd�de�Z
Gd�de�ZeZGd�de
�ZGd�de
�ZGd�de�ZGd�de�ZGd�dee
�ZGd�de�ZGd �d!ee	�ZGd"�d#e	�ZGd$�d%e	�ZGd&�d'ee�ZGd(�d)e�ZGd*�d+e�ZGd,�d-e�ZGd.�d/e�ZGd0�d1e�ZGd2�d3e�Z Gd4�d5e�Z!Gd6�d7e�Z"Gd8�d9e�Z#Gd:�d;e�Z$Gd<�d=ee�Z%Gd>�d?e�Z&Gd@�dAee�ZGdB�dCee�Z'GdD�dEe�Z(GdF�dGe)e�Z*GdH�dIe�Z+GdJ�dKe�Z,GdL�dMe�Z-yN)O�)�absolute_import�)�IncompleteReadc��eZdZdZy)�	HTTPErrorz#Base exception used by this module.N��__name__�
__module__�__qualname__�__doc__���I/usr/local/lib/python3.12/site-packages/pip/_vendor/urllib3/exceptions.pyrrs��-�rrc��eZdZdZy)�HTTPWarningz!Base warning used by this module.Nrr
rrrrs��+�rrc��eZdZdZd�Zd�Zy)�	PoolErrorz/Base exception for errors caused within a pool.c�H�||_tj||�d|���y)Nz: )�poolr�__init__)�selfr�messages   rrzPoolError.__init__s����	����4�T�7�!;�<rc��|jdfS)N)NN��	__class__�rs r�
__reduce__zPoolError.__reduce__s���~�~�|�+�+rN�r	r
rrrrr
rrrrs��9�=�,rrc��eZdZdZd�Zd�Zy)�RequestErrorz8Base exception for PoolErrors that have associated URLs.c�@�||_tj|||�y�N)�urlrr)rrr#rs    rrzRequestError.__init__#s��������4��w�/rc�8�|jd|jdffSr")rr#rs rrzRequestError.__reduce__'s���~�~��d�h�h��5�5�5rNrr
rrr r  s��B�0�6rr c��eZdZdZy)�SSLErrorz9Raised when SSL certificate fails in an HTTPS connection.Nrr
rrr&r&,���C�rr&c�"��eZdZdZ�fd�Z�xZS)�
ProxyErrorz,Raised when the connection to a proxy fails.c�>��tt|�
||g|���||_yr")�superr)r�original_error)rr�error�argsrs    �rrzProxyError.__init__5s!���
�j�$�(��%�?�$�?�#��r�r	r
rrr�
__classcell__rs@rr)r)2s���6�$�$rr)c��eZdZdZy)�DecodeErrorz;Raised when automatic decoding based on Content-Type fails.Nrr
rrr2r2:���E�rr2c��eZdZdZy)�
ProtocolErrorz>Raised when something unexpected happens mid-request/response.Nrr
rrr5r5@s��H�rr5c��eZdZdZdd�Zy)�
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

    Nc�T�||_d|�d|�d�}tj||||�y)NzMax retries exceeded with url: z (Caused by �))�reasonr r)rrr#r:rs     rrzMaxRetryError.__init__Ws'�����HK�V�T�����d�D�#�w�7rr"�r	r
rrrr
rrr7r7Ms���8rr7c��eZdZdZdd�Zy)�HostChangedErrorz?Raised when an existing pool gets a request for a foreign host.c�L�d|z}tj||||�||_y)Nz)Tried to open a foreign host with url: %s)r r�retries)rrr#r?rs     rrzHostChangedError.__init__bs'��=��C�����d�D�#�w�7���rN)�r;r
rrr=r=_s
��I�rr=c��eZdZdZy)�TimeoutStateErrorz1Raised when passing an invalid state to a timeoutNrr
rrrBrBhs��;�rrBc��eZdZdZy)�TimeoutErrorz�Raised when a socket timeout error occurs.

    Catching this error will catch both :exc:`ReadTimeoutErrors
    <ReadTimeoutError>` and :exc:`ConnectTimeoutErrors <ConnectTimeoutError>`.
    Nrr
rrrDrDns���	rrDc��eZdZdZy)�ReadTimeoutErrorzFRaised when a socket timeout occurs while receiving data from a serverNrr
rrrFrFxs��P�rrFc��eZdZdZy)�ConnectTimeoutErrorz@Raised when a socket timeout occurs while connecting to a serverNrr
rrrHrH�s��J�rrHc��eZdZdZy)�NewConnectionErrorzHRaised when we fail to establish a new connection. Usually ECONNREFUSED.Nrr
rrrJrJ�s��R�rrJc��eZdZdZy)�EmptyPoolErrorzCRaised when a pool runs out of connections and no more are allowed.Nrr
rrrLrL����M�rrLc��eZdZdZy)�ClosedPoolErrorzCRaised when a request enters a pool after the pool has been closed.Nrr
rrrOrO�rMrrOc��eZdZdZy)�LocationValueErrorz<Raised when there is something wrong with a given URL input.Nrr
rrrQrQ�s��F�rrQc��eZdZdZd�Zy)�LocationParseErrorz=Raised when get_host or similar fails to parse the URL input.c�H�d|z}tj||�||_y)NzFailed to parse: %s)rr�location)rrUrs   rrzLocationParseError.__init__�s#��'�(�2�����4��)� ��
rNr;r
rrrSrS�s
��G�!rrSc�"��eZdZdZ�fd�Z�xZS)�URLSchemeUnknownz2Raised when a URL input has an unsupported scheme.c�D��d|z}tt|�|�||_y)NzNot supported URL scheme %s)r+rWr�scheme�rrYrrs   �rrzURLSchemeUnknown.__init__�s$���/�&�8��
���.�w�7���rr/rs@rrWrW�s���<��rrWc��eZdZdZdZdZy)�
ResponseErrorzDUsed as a container for an error reason supplied in a MaxRetryError.ztoo many error responsesz&too many {status_code} error responsesN)r	r
rr�
GENERIC_ERROR�SPECIFIC_ERRORr
rrr\r\�s��N�.�M�=�Nrr\c��eZdZdZy)�SecurityWarningz0Warned when performing security reducing actionsNrr
rrr`r`����:�rr`c��eZdZdZy)�SubjectAltNameWarningzBWarned when connecting to a host with a certificate missing a SAN.Nrr
rrrcrc�s��L�rrcc��eZdZdZy)�InsecureRequestWarningz/Warned when making an unverified HTTPS request.Nrr
rrrere�s��9�rrec��eZdZdZy)�SystemTimeWarningz0Warned when system time is suspected to be wrongNrr
rrrgrg�rarrgc��eZdZdZy)�InsecurePlatformWarningzIWarned when certain TLS/SSL configuration is not available on a platform.Nrr
rrriri�s��S�rric��eZdZdZy)�SNIMissingWarningz9Warned when making a HTTPS request without SNI available.Nrr
rrrkrk�r'rrkc��eZdZdZy)�DependencyWarningzc
    Warned when an attempt is made to import a module with missing optional
    dependencies.
    Nrr
rrrmrm�����
	rrmc��eZdZdZy)�ResponseNotChunkedz;Response needs to be chunked in order to read it as chunks.Nrr
rrrprp�r3rrpc��eZdZdZy)�BodyNotHttplibCompatiblez�
    Body should be :class:`http.client.HTTPResponse` like
    (have an fp attribute which returns raw chunks) for read_chunked().
    Nrr
rrrrrr�rnrrrc�(��eZdZdZ�fd�Zd�Z�xZS)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.
    c�.��tt|�||�yr")r+rr)r�partial�expectedrs   �rrzIncompleteRead.__init__�s���
�n�d�,�W�h�?rc�8�d|j|jfzS)Nz/IncompleteRead(%i bytes read, %i more expected))rurvrs r�__repr__zIncompleteRead.__repr__s#��@��L�L��M�M�D
�
�	
r�r	r
rrrrxr0rs@rrr�s����@�
rrc�(��eZdZdZ�fd�Zd�Z�xZS)�InvalidChunkLengthz+Invalid chunk length in a chunked response.c�z��tt|�|j�|j�||_||_yr")r+r{r�tell�length_remaining�response�length)rrr�rs   �rrzInvalidChunkLength.__init__
s4���
� �$�0��M�M�O�X�6�6�	
�!��
���rc�8�d|j|jfzS)Nz0InvalidChunkLength(got length %r, %i bytes read))r�rurs rrxzInvalidChunkLength.__repr__s#��A��K�K��L�L�E
�
�	
rryrs@rr{r{s���5��
rr{c��eZdZdZy)�
InvalidHeaderz(The header provided was somehow invalid.Nrr
rrr�r�s��2�rr�c�"��eZdZdZ�fd�Z�xZS)�ProxySchemeUnknownz1ProxyManager does not support the supplied schemec�N��|dk(rd}|�d}nd|z}tt|�|�y)N�	localhostz>Proxy URL had no scheme, should start with http:// or https://zCProxy URL had unsupported scheme %s, should use http:// or https://)r+r�rrZs   �rrzProxySchemeUnknown.__init__#sA����[� ��F��>�V�G�V���
�	� �$�0��9rr/rs@rr�r�s���;�:�:rr�c��eZdZdZy)�ProxySchemeUnsupportedz=Fetching HTTPS resources through HTTPS proxies is unsupportedNrr
rrr�r�2s��G�rr�c�"��eZdZdZ�fd�Z�xZS)�HeaderParsingErrorzNRaised by assert_header_parsing, but we convert it to a log.warning statement.c�B��|xsd�d|��}tt|�|�y)N�Unknownz, unparsed data: )r+r�r)r�defects�
unparsed_datarrs    �rrzHeaderParsingError.__init__;s%���-4�-A�	�-A�=�Q��
� �$�0��9rr/rs@rr�r�8s���X�:�:rr�c��eZdZdZy)�UnrewindableBodyErrorz9urllib3 encountered an error when trying to rewind a bodyNrr
rrr�r�@r'rr�N).�
__future__r�packages.six.moves.http_clientr�httplib_IncompleteRead�	Exceptionr�Warningrrr r&r)r2r5�ConnectionErrorr7r=rBrDrFrHrJrLrO�
ValueErrorrQrSrWr\r`rcrergrirkrmrprrr{r��AssertionErrorr�r�r�r�r
rr�<module>r�s���&�T�
	�	�	�	�'�	�	,�	�	,�	6�9�	6�	�y�	�$��$�	�)�	�	�I�	� ��8�L�8�$�|��	�	�	�	�9�	�	�|�\�	�	�,�	�	�,�i�	�	�Y�	�	�i�	�	��Y�	�!�+�!��)��>�I�>�	�k�	�	�O�	�	�_�	�	��	�	�o�	�	��	�	��	�	��
�	�	�y�	�
�Y� 6�
�$
��$:�
�"	�I�	�:��)9�:�(	�Z�	�:��:�	�I�	r

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists