Sindbad~EG File Manager
�
��h ��<�ddlmZddlmZGd�de��ZGd�de��ZGd�d e��Z Gd
�de ��Z
Gd�d
e��ZGd�de��ZGd�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-dNS)O�)�absolute_import�)�IncompleteReadc��eZdZdZdS)� HTTPErrorz#Base exception used by this module.N��__name__�
__module__�__qualname__�__doc__���I/opt/imunify360/venv/lib64/python3.11/site-packages/urllib3/exceptions.pyrrs������-�-��Drrc��eZdZdZdS)�HTTPWarningz!Base warning used by this module.Nrr
rrrrs������+�+��Drrc��eZdZdZd�Zd�ZdS)� PoolErrorz/Base exception for errors caused within a pool.c�T�||_t�||�d|����dS)Nz: )�poolr�__init__)�selfr�messages rrzPoolError.__init__s0���� ����4�T�T�T�7�7�!;�<�<�<�<�<rc��|jdfS)N)NN�� __class__�rs r�
__reduce__zPoolError.__reduce__s���~�|�+�+rN�r r
rrrrr
rrrrs8������9�9�=�=�=�,�,�,�,�,rrc��eZdZdZd�Zd�ZdS)�RequestErrorz8Base exception for PoolErrors that have associated URLs.c�L�||_t�|||��dS�N)�urlrr)rrr#rs rrzRequestError.__init__#s'��������4��w�/�/�/�/�/rc�$�|jd|jdffSr")rr#rs rrzRequestError.__reduce__'s���~��d�h��5�5�5rNrr
rrr r s8������B�B�0�0�0�6�6�6�6�6rr c��eZdZdZdS)�SSLErrorz9Raised when SSL certificate fails in an HTTPS connection.Nrr
rrr&r&,�������C�C��Drr&c�"��eZdZdZ�fd�Z�xZS)�
ProxyErrorz,Raised when the connection to a proxy fails.c�Z��tt|��j||g|�R�||_dSr")�superr)r�original_error)rr�error�argsrs �rrzProxyError.__init__5s8���(��j�$���(��%�?�$�?�?�?�?�#����r�r r
rrr�
__classcell__rs@rr)r)2s>�������6�6�$�$�$�$�$�$�$�$�$rr)c��eZdZdZdS)�DecodeErrorz;Raised when automatic decoding based on Content-Type fails.Nrr
rrr2r2:�������E�E��Drr2c��eZdZdZdS)�
ProtocolErrorz>Raised when something unexpected happens mid-request/response.Nrr
rrr5r5@s������H�H��Drr5c��eZdZdZdd�ZdS)�
MaxRetryErroraRaised 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�`�||_d|�d|�d�}t�||||��dS)NzMax retries exceeded with url: z (Caused by �))�reasonr r)rrr#r:rs rrzMaxRetryError.__init__Ws=������HK���V�V�V�T�����d�D�#�w�7�7�7�7�7rr"�r r
rrrr
rrr7r7Ms2��������8�8�8�8�8�8rr7c��eZdZdZdd�ZdS)�HostChangedErrorz?Raised when an existing pool gets a request for a foreign host.�c�X�d|z}t�||||��||_dS)Nz)Tried to open a foreign host with url: %s)r r�retries)rrr#r@rs rrzHostChangedError.__init__bs1��=��C�����d�D�#�w�7�7�7�����rN)r>r;r
rrr=r=_s.������I�I������rr=c��eZdZdZdS)�TimeoutStateErrorz1Raised when passing an invalid state to a timeoutNrr
rrrBrBhs������;�;��DrrBc��eZdZdZdS)�TimeoutErrorz�Raised when a socket timeout error occurs.
Catching this error will catch both :exc:`ReadTimeoutErrors
<ReadTimeoutError>` and :exc:`ConnectTimeoutErrors <ConnectTimeoutError>`.
Nrr
rrrDrDns�������� �DrrDc��eZdZdZdS)�ReadTimeoutErrorzFRaised when a socket timeout occurs while receiving data from a serverNrr
rrrFrFxs������P�P��DrrFc��eZdZdZdS)�ConnectTimeoutErrorz@Raised when a socket timeout occurs while connecting to a serverNrr
rrrHrH�s������J�J��DrrHc��eZdZdZdS)�NewConnectionErrorzHRaised when we fail to establish a new connection. Usually ECONNREFUSED.Nrr
rrrJrJ�s������R�R��DrrJc��eZdZdZdS)�EmptyPoolErrorzCRaised when a pool runs out of connections and no more are allowed.Nrr
rrrLrL��������M�M��DrrLc��eZdZdZdS)�ClosedPoolErrorzCRaised when a request enters a pool after the pool has been closed.Nrr
rrrOrO�rMrrOc��eZdZdZdS)�LocationValueErrorz<Raised when there is something wrong with a given URL input.Nrr
rrrQrQ�s������F�F��DrrQc��eZdZdZd�ZdS)�LocationParseErrorz=Raised when get_host or similar fails to parse the URL input.c�T�d|z}t�||��||_dS)NzFailed to parse: %s)rr�location)rrUrs rrzLocationParseError.__init__�s-��'�(�2�����4��)�)�)� ��
�
�
rNr;r
rrrSrS�s)������G�G�!�!�!�!�!rrSc�"��eZdZdZ�fd�Z�xZS)�URLSchemeUnknownz2Raised when a URL input has an unsupported scheme.c�p��d|z}tt|���|��||_dS)NzNot supported URL scheme %s)r+rWr�scheme�rrYrrs �rrzURLSchemeUnknown.__init__�s7���/�&�8��
���%�%�.�.�w�7�7�7�����rr/rs@rrWrW�s>�������<�<���������rrWc��eZdZdZdZdZdS)�
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�N�.�M�=�N�N�Nrr\c��eZdZdZdS)�SecurityWarningz0Warned when performing security reducing actionsNrr
rrr`r`��������:�:��Drr`c��eZdZdZdS)�SubjectAltNameWarningzBWarned when connecting to a host with a certificate missing a SAN.Nrr
rrrcrc�s������L�L��Drrcc��eZdZdZdS)�InsecureRequestWarningz/Warned when making an unverified HTTPS request.Nrr
rrrere�s������9�9��Drrec��eZdZdZdS)�SystemTimeWarningz0Warned when system time is suspected to be wrongNrr
rrrgrg�rarrgc��eZdZdZdS)�InsecurePlatformWarningzIWarned when certain TLS/SSL configuration is not available on a platform.Nrr
rrriri�s������S�S��Drric��eZdZdZdS)�SNIMissingWarningz9Warned when making a HTTPS request without SNI available.Nrr
rrrkrk�r'rrkc��eZdZdZdS)�DependencyWarningzc
Warned when an attempt is made to import a module with missing optional
dependencies.
Nrr
rrrmrm����������
�Drrmc��eZdZdZdS)�ResponseNotChunkedz;Response needs to be chunked in order to read it as chunks.Nrr
rrrprp�r3rrpc��eZdZdZdS)�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�Z��tt|���||��dSr")r+rr)r�partial�expectedrs �rrzIncompleteRead.__init__�s)���
�n�d�#�#�,�,�W�h�?�?�?�?�?rc�$�d|j|jfzS)Nz/IncompleteRead(%i bytes read, %i more expected))rurvrs r�__repr__zIncompleteRead.__repr__s��@��L��M�D
�
�
r�r r
rrrrxr0rs@rrr�sV���������@�@�@�@�@�
�
�
�
�
�
�
rrc�(��eZdZdZ�fd�Zd�Z�xZS)�InvalidChunkLengthz+Invalid chunk length in a chunked response.c���tt|���|���|j��||_||_dSr")r+r{r�tell�length_remaining�response�length)rrr�rs �rrzInvalidChunkLength.__init__
sJ���
� �$�'�'�0�0��M�M�O�O�X�6�
�
�
�!��
�����rc�$�d|j|jfzS)Nz0InvalidChunkLength(got length %r, %i bytes read))r�rurs rrxzInvalidChunkLength.__repr__s��A��K��L�E
�
�
rryrs@rr{r{sM�������5�5������
�
�
�
�
�
�
rr{c��eZdZdZdS)�
InvalidHeaderz(The header provided was somehow invalid.Nrr
rrr�r�s������2�2��Drr�c�"��eZdZdZ�fd�Z�xZS)�ProxySchemeUnknownz1ProxyManager does not support the supplied schemec�|��|dkrd}|�d}nd|z}tt|���|��dS)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__#s[����[� � ��F��>�V�G�G�V���
� � �$�'�'�0�0��9�9�9�9�9rr/rs@rr�r�s>�������;�;�:�:�:�:�:�:�:�:�:rr�c��eZdZdZdS)�ProxySchemeUnsupportedz=Fetching HTTPS resources through HTTPS proxies is unsupportedNrr
rrr�r�2s������G�G��Drr�c�"��eZdZdZ�fd�Z�xZS)�HeaderParsingErrorzNRaised by assert_header_parsing, but we convert it to a log.warning statement.c�j��|pd�d|��}tt|���|��dS)N�Unknownz, unparsed data: )r+r�r)r�defects�
unparsed_datarrs �rrzHeaderParsingError.__init__;s?���-4�-A� �-A�-A�=�=�Q��
� �$�'�'�0�0��9�9�9�9�9rr/rs@rr�r�8s>�������X�X�:�:�:�:�:�:�:�:�:rr�c��eZdZdZdS)�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�T�T�T�T�T�
� � � � � � � � � � � � � �'� � � � ,� ,� ,� ,� ,� � ,� ,� ,� 6� 6� 6� 6� 6�9� 6� 6� 6� � � � � �y� � � �$�$�$�$�$��$�$�$� � � � � �)� � � � � � � � �I� � � � ��8�8�8�8�8�L�8�8�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