HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /proc/self/root/usr/lib/python3/dist-packages/urllib3/__pycache__/
Upload File :
Current File : //proc/self/root/usr/lib/python3/dist-packages/urllib3/__pycache__/exceptions.cpython-311.pyc
�

��fg ��<�ddlmZddlmZGd�de��ZGd�de��ZGd�de��Z	Gd	�d
e	��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��ZGd/�d0e��ZGd1�d2e��Z Gd3�d4e��Z!Gd5�d6e��Z"Gd7�d8e��Z#Gd9�d:e��Z$Gd;�d<ee��Z%Gd=�d>e��Z&Gd?�d@ee��ZGdA�dBee��Z'GdC�dDe��Z(GdE�dFe)e��Z*GdG�dHe��Z+GdI�dJe��Z,GdK�dLe��Z-dMS)N�)�absolute_import)�IncompleteReadc��eZdZdZdS)�	HTTPErrorz#Base exception used by this module.N��__name__�
__module__�__qualname__�__doc__���4/usr/lib/python3/dist-packages/urllib3/exceptions.pyrrs������-�-��Dr
rc��eZdZdZdS)�HTTPWarningz!Base warning used by this module.Nrrr
rrrs������+�+��Dr
rc��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�!;�<�<�<�<�<r
c��|jdfS)N)NN��	__class__�rs r�
__reduce__zPoolError.__reduce__s���~�|�+�+r
N�rr	r
rrrrr
rrrs8������9�9�=�=�=�,�,�,�,�,r
rc��eZdZdZd�Zd�ZdS)�RequestErrorz8Base exception for PoolErrors that have associated URLs.c�L�||_t�|||��dS�N)�urlrr)rrr"rs    rrzRequestError.__init__#s'��������4��w�/�/�/�/�/r
c�$�|jd|jdffSr!)rr"rs rrzRequestError.__reduce__'s���~��d�h��5�5�5r
Nrrr
rrr s8������B�B�0�0�0�6�6�6�6�6r
rc��eZdZdZdS)�SSLErrorz9Raised when SSL certificate fails in an HTTPS connection.Nrrr
rr%r%,�������C�C��Dr
r%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
�rr	r
rr�
__classcell__rs@rr(r(2s>�������6�6�$�$�$�$�$�$�$�$�$r
r(c��eZdZdZdS)�DecodeErrorz;Raised when automatic decoding based on Content-Type fails.Nrrr
rr1r1:�������E�E��Dr
r1c��eZdZdZdS)�
ProtocolErrorz>Raised when something unexpected happens mid-request/response.Nrrr
rr4r4@s������H�H��Dr
r4c��eZdZdZdd�ZdS)�
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�`�||_d|�d|�d�}t�||||��dS)NzMax retries exceeded with url: z (Caused by �))�reasonrr)rrr"r9rs     rrzMaxRetryError.__init__Ws=������HK���V�V�V�T�����d�D�#�w�7�7�7�7�7r
r!�rr	r
rrrr
rr6r6Ms2��������8�8�8�8�8�8r
r6c��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)rr�retries)rrr"r?rs     rrzHostChangedError.__init__bs1��=��C�����d�D�#�w�7�7�7�����r
N)r=r:rr
rr<r<_s.������I�I������r
r<c��eZdZdZdS)�TimeoutStateErrorz1Raised when passing an invalid state to a timeoutNrrr
rrArAhs������;�;��Dr
rAc��eZdZdZdS)�TimeoutErrorz�Raised when a socket timeout error occurs.

    Catching this error will catch both :exc:`ReadTimeoutErrors
    <ReadTimeoutError>` and :exc:`ConnectTimeoutErrors <ConnectTimeoutError>`.
    Nrrr
rrCrCns��������	�Dr
rCc��eZdZdZdS)�ReadTimeoutErrorzFRaised when a socket timeout occurs while receiving data from a serverNrrr
rrErExs������P�P��Dr
rEc��eZdZdZdS)�ConnectTimeoutErrorz@Raised when a socket timeout occurs while connecting to a serverNrrr
rrGrG�s������J�J��Dr
rGc��eZdZdZdS)�NewConnectionErrorzHRaised when we fail to establish a new connection. Usually ECONNREFUSED.Nrrr
rrIrI�s������R�R��Dr
rIc��eZdZdZdS)�EmptyPoolErrorzCRaised when a pool runs out of connections and no more are allowed.Nrrr
rrKrK��������M�M��Dr
rKc��eZdZdZdS)�ClosedPoolErrorzCRaised when a request enters a pool after the pool has been closed.Nrrr
rrNrN�rLr
rNc��eZdZdZdS)�LocationValueErrorz<Raised when there is something wrong with a given URL input.Nrrr
rrPrP�s������F�F��Dr
rPc��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)rrTrs   rrzLocationParseError.__init__�s-��'�(�2�����4��)�)�)� ��
�
�
r
Nr:rr
rrRrR�s)������G�G�!�!�!�!�!r
rRc�"��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*rVr�scheme�rrXrrs   �rrzURLSchemeUnknown.__init__�s7���/�&�8��
���%�%�.�.�w�7�7�7�����r
r.rs@rrVrV�s>�������<�<���������r
rVc��eZdZdZdZdZdS)�
ResponseErrorzDUsed as a container for an error reason supplied in a MaxRetryError.ztoo many error responsesz&too many {status_code} error responsesN)rr	r
r�
GENERIC_ERROR�SPECIFIC_ERRORrr
rr[r[�s������N�N�.�M�=�N�N�Nr
r[c��eZdZdZdS)�SecurityWarningz0Warned when performing security reducing actionsNrrr
rr_r_��������:�:��Dr
r_c��eZdZdZdS)�SubjectAltNameWarningzBWarned when connecting to a host with a certificate missing a SAN.Nrrr
rrbrb�s������L�L��Dr
rbc��eZdZdZdS)�InsecureRequestWarningz/Warned when making an unverified HTTPS request.Nrrr
rrdrd�s������9�9��Dr
rdc��eZdZdZdS)�SystemTimeWarningz0Warned when system time is suspected to be wrongNrrr
rrfrf�r`r
rfc��eZdZdZdS)�InsecurePlatformWarningzIWarned when certain TLS/SSL configuration is not available on a platform.Nrrr
rrhrh�s������S�S��Dr
rhc��eZdZdZdS)�SNIMissingWarningz9Warned when making a HTTPS request without SNI available.Nrrr
rrjrj�r&r
rjc��eZdZdZdS)�DependencyWarningzc
    Warned when an attempt is made to import a module with missing optional
    dependencies.
    Nrrr
rrlrl����������
	�Dr
rlc��eZdZdZdS)�ResponseNotChunkedz;Response needs to be chunked in order to read it as chunks.Nrrr
rroro�r2r
roc��eZdZdZdS)�BodyNotHttplibCompatiblez�
    Body should be :class:`http.client.HTTPResponse` like
    (have an fp attribute which returns raw chunks) for read_chunked().
    Nrrr
rrqrq�rmr
rqc�(��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�?�?�?�?�?r
c�$�d|j|jfzS)Nz/IncompleteRead(%i bytes read, %i more expected))rtrurs r�__repr__zIncompleteRead.__repr__s��@��L��M�D
�
�	
r
�rr	r
rrrwr/rs@rrr�sV���������@�@�@�@�@�
�
�
�
�
�
�
r
rc�(��eZdZdZ�fd�Zd�Z�xZS)�InvalidChunkLengthz+Invalid chunk length in a chunked response.c���tt|���|���|j��||_||_dSr!)r*rzr�tell�length_remaining�response�length)rr~rrs   �rrzInvalidChunkLength.__init__
sJ���
� �$�'�'�0�0��M�M�O�O�X�6�	
�	
�	
�!��
�����r
c�$�d|j|jfzS)Nz0InvalidChunkLength(got length %r, %i bytes read))rrtrs rrwzInvalidChunkLength.__repr__s��A��K��L�E
�
�	
r
rxrs@rrzrzsM�������5�5������
�
�
�
�
�
�
r
rzc��eZdZdZdS)�
InvalidHeaderz(The header provided was somehow invalid.Nrrr
rr�r�s������2�2��Dr
r�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�rrYs   �rrzProxySchemeUnknown.__init__#s[����[� � ��F��>�V�G�G�V���
�	� �$�'�'�0�0��9�9�9�9�9r
r.rs@rr�r�s>�������;�;�:�:�:�:�:�:�:�:�:r
r�c��eZdZdZdS)�ProxySchemeUnsupportedz=Fetching HTTPS resources through HTTPS proxies is unsupportedNrrr
rr�r�2s������G�G��Dr
r�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�9r
r.rs@rr�r�8s>�������X�X�:�:�:�:�:�:�:�:�:r
r�c��eZdZdZdS)�UnrewindableBodyErrorz9urllib3 encountered an error when trying to rewind a bodyNrrr
rr�r�@r&r
r�N).�
__future__r�six.moves.http_clientr�httplib_IncompleteRead�	Exceptionr�Warningrrrr%r(r1r4�ConnectionErrorr6r<rArCrErGrIrKrN�
ValueErrorrPrRrVr[r_rbrdrfrhrjrlrorqrzr��AssertionErrorr�r�r�r�rr
r�<module>r�s`��&�&�&�&�&�&�J�J�J�J�J�J�
	�	�	�	�	�	�	�	�	�	�	�	�	�	�'�	�	�	�	,�	,�	,�	,�	,�	�	,�	,�	,�	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