__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

�Bfij(���%SSKJr SSKrSSKrSSKJr SSKJr SSKJ	r	 \R(aSSKJr "SS	\5r\RrS
\S'\R \R"\\4r"SS
5rg)�)�annotationsN)�Enum)�getdefaulttimeout�)�TimeoutStateError)�Finalc��\rSrSrSrSrg)�
_TYPE_DEFAULT�����N)�__name__�
__module__�__qualname__�__firstlineno__�token�__static_attributes__r
��6/usr/lib/python3/dist-packages/urllib3/util/timeout.pyr
r
s	��
�Err
zFinal[_TYPE_DEFAULT]�_DEFAULT_TIMEOUTc���\rSrSr%Sr\rS\S'S\\4SSjjrSSjr	\	r
\SSj5r\
SS	j5r\
SS
j5rSSjrSSjrSS
jr\SSj5r\SSj5rSrg)�Timeout�aTimeout configuration.

Timeouts can be defined as a default for a pool:

.. code-block:: python

    import urllib3

    timeout = urllib3.util.Timeout(connect=2.0, read=7.0)

    http = urllib3.PoolManager(timeout=timeout)

    resp = http.request("GET", "https://example.com/")

    print(resp.status)

Or per-request (which overrides the default for the pool):

.. code-block:: python

   response = http.request("GET", "https://example.com/", timeout=Timeout(10))

Timeouts can be disabled by setting all the parameters to ``None``:

.. code-block:: python

   no_timeout = Timeout(connect=None, read=None)
   response = http.request("GET", "https://example.com/", timeout=no_timeout)


:param total:
    This combines the connect and read timeouts into one; the read timeout
    will be set to the time leftover from the connect attempt. In the
    event that both a connect timeout and a total are specified, or a read
    timeout and a total are specified, the shorter timeout will be applied.

    Defaults to None.

:type total: int, float, or None

:param connect:
    The maximum amount of time (in seconds) to wait for a connection
    attempt to a server to succeed. Omitting the parameter will default the
    connect timeout to the system default, probably `the global default
    timeout in socket.py
    <http://hg.python.org/cpython/file/603b4d593758/Lib/socket.py#l535>`_.
    None will set an infinite timeout for connection attempts.

:type connect: int, float, or None

:param read:
    The maximum amount of time (in seconds) to wait between consecutive
    read operations for a response from the server. Omitting the parameter
    will default the read timeout to the system default, probably `the
    global default timeout in socket.py
    <http://hg.python.org/cpython/file/603b4d593758/Lib/socket.py#l535>`_.
    None will set an infinite timeout.

:type read: int, float, or None

.. note::

    Many factors can affect the total amount of time for urllib3 to return
    an HTTP response.

    For example, Python's DNS resolver does not obey the timeout specified
    on the socket. Other factors that can affect total request time include
    high CPU load, high swap, the program running at a low priority level,
    or other behaviors.

    In addition, the read and total timeouts only measure the time between
    read operations on the socket connecting the client and the server,
    not the total amount of time for the request to return a complete
    response. For most requests, the timeout is raised because the server
    has not sent the first byte in the specified time. This is not always
    the case; if a server streams one byte every fifteen seconds, a timeout
    of 20 seconds will not trigger, even though the request will take
    several minutes to complete.
�
_TYPE_TIMEOUT�DEFAULT_TIMEOUTNc��URUS5UlURUS5UlURUS5UlSUlg)N�connect�read�total)�_validate_timeout�_connect�_readr�_start_connect)�selfrrrs    r�__init__�Timeout.__init__msH���.�.�w�	�B��
��+�+�D�&�9��
��+�+�E�7�;��
�,0��rc��[U5RSUR<SUR<SUR<S3$)Nz	(connect=z, read=z, total=�))�typerr!r"r�r$s r�__repr__�Timeout.__repr__xs?���t�*�%�%�&�i��
�
�/@���
�
�~�U]�^b�^h�^h�]k�kl�m�mrc�,�U[La
[5$U$)N)rr)�timeouts r�resolve_default_timeout�Timeout.resolve_default_timeout~s��&-�1A�&A� �"�N�w�Nrc�J�Ub	U[LaU$[U[5(a[S5e[	U5 US::a[SU<SU<S	35eU$![
[4a [SU<SU<S35Sef=f![
a [SU<SU<S35Sef=f)
a{Check that a timeout attribute is valid.

:param value: The timeout value to validate
:param name: The name of the timeout attribute to validate. This is
    used to specify in error messages.
:return: The validated and casted version of the given value.
:raises ValueError: If it is a numeric value less than or equal to
    zero, or the type is not an integer, float, or None.
NzDTimeout cannot be a boolean value. It must be an int, float or None.zTimeout value z was z', but it must be an int, float or None.rzAttempted to set z timeout to zC, but the timeout cannot be set to a value less than or equal to 0.)r�
isinstance�bool�
ValueError�float�	TypeError)�cls�value�names   rr �Timeout._validate_timeout�s����=�E�%5�5��L��e�T�"�"��,��
�	��%�L�	���z� �.2�5�:�������'�:�&�	��)-�u�6���
�	���	��)-�u�6���
�	�s�A�B�&A?� B"c��[XS9$)a�Create a new Timeout from a legacy timeout value.

The timeout value used by httplib.py sets the same timeout on the
connect(), and recv() socket requests. This creates a :class:`Timeout`
object that sets the individual timeouts to the ``timeout`` value
passed to this function.

:param timeout: The legacy timeout value.
:type timeout: integer, float, :attr:`urllib3.util.Timeout.DEFAULT_TIMEOUT`, or None
:return: Timeout object
:rtype: :class:`Timeout`
)rr)r)r7r.s  r�
from_float�Timeout.from_float�s���G�5�5rc�T�[URURURS9$)z�Create a copy of the timeout object

Timeout properties are stored per-pool but each request needs a fresh
Timeout object to ensure each one has its own start/stop configured.

:return: a copy of the timeout object
:rtype: :class:`Timeout`
)rrr)rr!r"rr*s r�clone�
Timeout.clone�s���t�}�}�4�:�:�T�Z�Z�P�Prc�~�URb[S5e[R"5UlUR$)z�Start the timeout clock, used during a connect() attempt

:raises urllib3.exceptions.TimeoutStateError: if you attempt
    to start a timer that has been started already.
z'Timeout timer has already been started.�r#r�time�	monotonicr*s r�
start_connect�Timeout.start_connect�s7�����*�#�$M�N�N�"�n�n�.����"�"�"rc�v�URc[S5e[R"5UR-
$)z�Gets the time elapsed since the call to :meth:`start_connect`.

:return: Elapsed time in seconds.
:rtype: float
:raises urllib3.exceptions.TimeoutStateError: if you attempt
    to get duration for a timer that hasn't been started.
z:Can't get connect duration for timer that has not started.rBr*s r�get_connect_duration�Timeout.get_connect_duration�s:�����&�#�L��
��~�~��$�"5�"5�5�5rc���URcUR$URbUR[LaUR$[URUR5$)z�Get the value to use when setting a connection timeout.

This will be a positive float or integer, the value None
(never timeout), or the default system timeout.

:return: Connect timeout.
:rtype: int, float, :attr:`Timeout.DEFAULT_TIMEOUT` or None
)rr!r�minr*s r�connect_timeout�Timeout.connect_timeout�sM���:�:���=�=� ��=�=� �D�M�M�5E�$E��:�:���4�=�=�$�*�*�-�-rc���URb�UR[LatURbgUR[LaTURcUR$[	S[URUR
5-
UR55$URb:UR[La'[	SURUR
5-
5$URUR5$)a#Get the value for the read timeout.

This assumes some time has elapsed in the connection timeout and
computes the read timeout appropriately.

If self.total is set, the read timeout is dependent on the amount of
time taken by the connect timeout. If the connection time has not been
established, a :exc:`~urllib3.exceptions.TimeoutStateError` will be
raised.

:return: Value to use for the read timeout.
:rtype: int, float or None
:raises urllib3.exceptions.TimeoutStateError: If :meth:`start_connect`
    has not yet been called on this object.
r)rrr"r#�maxrKrHr/r*s r�read_timeout�Timeout.read_timeout�s���$
�J�J�"��
�
�"2�2��
�
�&��
�
�"2�2��"�"�*��z�z�!��q�#�d�j�j�4�+D�+D�+F�F��
�
�S�T�T�
�Z�Z�
#��
�
�:J�(J��q�$�*�*�t�'@�'@�'B�B�C�C��/�/��
�
�;�;r)r!r"r#r)rrrrrr�return�None)rR�str)r.rrR�float | None)r8rr9rTrRr)r.rrRr)rRr)rRr5)rRr)rRrU)rrrr�__doc__rr�__annotations__r%r+�__str__�staticmethodr/�classmethodr r<r?rErH�propertyrLrPrr
rrrrs���N�b&6�O�]�5� $�!1�.�		1��	1��	1��		1�

�	1�n��G��O��O��'��'�R�
6��
6�Q�	#�6��.��.�"�<��<rr)�
__future__rrC�typing�enumr�socketr�
exceptionsr�
TYPE_CHECKINGrr
rrrW�Optional�Unionr5rrr
rr�<module>rdsk��"��
��$�*�	�����D��*7�)<�)<��&�<�������U�M�-A� B�C�
�z<�z<r

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 968 B 0644
connection.cpython-313.pyc File 4.59 KB 0644
proxy.cpython-313.pyc File 1.16 KB 0644
request.cpython-313.pyc File 8.01 KB 0644
response.cpython-313.pyc File 2.8 KB 0644
retry.cpython-313.pyc File 19.75 KB 0644
ssl_.cpython-313.pyc File 16.21 KB 0644
ssl_match_hostname.cpython-313.pyc File 5.56 KB 0644
ssltransport.cpython-313.pyc File 13.09 KB 0644
timeout.cpython-313.pyc File 11 KB 0644
url.cpython-313.pyc File 15.87 KB 0644
util.cpython-313.pyc File 2.04 KB 0644
wait.cpython-313.pyc File 3.43 KB 0644
Filemanager