__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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]: ~ $
�

�Bfik����SSKJr SSKrSSKrSSKrSSKrSSKrSSKrSSKrSSK	J
r SSKJ
r
 SSKJr SSKJr SSKJr SS	KJrJrJrJrJrJrJrJr SS
KJr SSKJrJ r J!r!J"r"J#r#J$r$J%r%J&r&J'r'J(r(J)r)J*r*J+r+ SSK,J-r- SS
K.J/r/ SSK0J1r1 SSK2J3r3J4r4 SSK5J6r6 SSK7J8r8 SSK9J:r:J;r;J<r< SSK=J>r>J?r? SSK=J@rA SSK=JBrB SSKCJDrD \R�(aSSKFrFSSKGJHrH SSKJIrIJJrJ \R�"\L5rM\R�\<\O\;S4rP"SS5rQ\R�\R�1rT"SS\Q\5rU"SS\U5rVS%SjrW\R�S&S j5r@\R�S'S!j5r@S(S"jr@S)S*S#jjrYS+S$jrZg),�)�annotationsN��timeout)�
TracebackType�)�
_TYPE_BODY)�HTTPHeaderDict)�RequestMethods)�BaseSSLError�BrokenPipeError�DummyConnection�HTTPConnection�
HTTPException�HTTPSConnection�ProxyConfig�_wrap_proxy_error)�port_by_scheme)
�ClosedPoolError�EmptyPoolError�
FullPoolError�HostChangedError�InsecureRequestWarning�LocationValueError�
MaxRetryError�NewConnectionError�
ProtocolError�
ProxyError�ReadTimeoutError�SSLError�TimeoutError)�BaseHTTPResponse)�is_connection_dropped)�connection_requires_http_tunnel)�_TYPE_BODY_POSITION�set_file_position)�Retry)�CertificateError)�_DEFAULT_TIMEOUT�
_TYPE_DEFAULT�Timeout)�Url�_encode_target)�_normalize_host)�	parse_url)�to_str)�Self)�BaseHTTPConnection�BaseHTTPSConnectionc��\rSrSr%SrSrS\S'\Rr	SS
Sjjr
SSjrSSjrSS	jr
SS
jrSrg)�ConnectionPool�Ca
Base class for all connection pools, such as
:class:`.HTTPConnectionPool` and :class:`.HTTPSConnectionPool`.

.. note::
   ConnectionPool.urlopen() does not normalize or percent-encode target URIs
   which is useful if your target server doesn't support percent-encoded
   target URIs.
N�
str | None�schemec��U(d[S5e[XRS9UlX l[XRS9R
5Ulg)NzNo host specified.�r7)rr-r7�host�port�normalize_host�lower�_tunnel_host)�selfr:r;s   �8/usr/lib/python3/dist-packages/urllib3/connectionpool.py�__init__�ConnectionPool.__init__QsB���$�%9�:�:�#�D���=��	��	�+�4���D�J�J�L���c�j�[U5RSUR<SUR<S3$)Nz(host=z, port=�))�type�__name__r:r;�r?s r@�__str__�ConnectionPool.__str__^s.���t�*�%�%�&�f�T�Y�Y�M�����
�Q�O�OrCc��U$�N�rHs r@�	__enter__�ConnectionPool.__enter__as���rCc�$�UR5 g)NF)�close)r?�exc_type�exc_val�exc_tbs    r@�__exit__�ConnectionPool.__exit__ds��	
�
�
��rCc��g�z4
Close all pooled connections and disable the pool.
NrMrHs r@rQ�ConnectionPool.closen��rC)r>r:r;rL)r:�strr;�
int | None�return�None)r]r[)r]r0)rRztype[BaseException] | NonerSzBaseException | NonerTzTracebackType | Noner]ztyping.Literal[False]�r]r^)rG�
__module__�__qualname__�__firstlineno__�__doc__r7�__annotations__�queue�	LifoQueue�QueueClsrArIrNrUrQ�__static_attributes__rMrCr@r4r4Cs]����F�J�����H�M�P���,��&��%�	�

��rCr4c��\rSrSr%SrSr\rS\S'S\	SSSSSSS4	SS	jjr
SS
jrSSSjjrSSjr
SS
jrSSjrSSjrSSjrSSS\	SSSSS4	SSjjrS SjrS!SjrSSSSS\	SSSSSS4S"SjjrSrg)#�HTTPConnectionPool�xaw
Thread-safe connection pool for one host.

:param host:
    Host used for this HTTP Connection (e.g. "localhost"), passed into
    :class:`http.client.HTTPConnection`.

:param port:
    Port used for this HTTP Connection (None is equivalent to 80), passed
    into :class:`http.client.HTTPConnection`.

:param timeout:
    Socket timeout in seconds for each individual connection. This can
    be a float or integer, which sets the timeout for the HTTP request,
    or an instance of :class:`urllib3.util.Timeout` which gives you more
    fine-grained control over request timeouts. After the constructor has
    been parsed, this is always a `urllib3.util.Timeout` object.

:param maxsize:
    Number of connections to save that can be reused. More than 1 is useful
    in multithreaded situations. If ``block`` is set to False, more
    connections will be created but they will not be saved once they've
    been used.

:param block:
    If set to True, no more than ``maxsize`` connections will be used at
    a time. When no free connections are available, the call will block
    until a connection has been released. This is a useful side effect for
    particular multithreaded situations where one does not want to use more
    than maxsize connections per host to prevent flooding.

:param headers:
    Headers to include with all requests, unless other headers are given
    explicitly.

:param retries:
    Retry configuration to use by default with requests in this pool.

:param _proxy:
    Parsed proxy URL, should not be used directly, instead, see
    :class:`urllib3.ProxyManager`

:param _proxy_headers:
    A dictionary with proxy headers, should not be used directly,
    instead, see :class:`urllib3.ProxyManager`

:param \**conn_kw:
    Additional parameters are used to create fresh :class:`urllib3.connection.HTTPConnection`,
    :class:`urllib3.connection.HTTPSConnection` instances.
�httpz4type[BaseHTTPConnection] | type[BaseHTTPSConnection]�
ConnectionClsNrFc���[RXU5 [R"X5 [U[5(d[R
"U5nUc[RnX0lXpl	URU5UlXPlX�l
U	=(d 0UlX�l[!U5HnURR#S5 M  SUlSUlX�lUR(aNUR(R+S/5 URUR(S'URUR(S'URn
[,R."U[0U
5 g)Nr�socket_options�proxy�proxy_config)r4rAr
�
isinstancer*�
from_floatr&�DEFAULTr�retriesrg�pool�blockrp�
proxy_headersrq�range�put�num_connections�num_requests�conn_kw�
setdefault�weakref�finalize�_close_pool_connections)r?r:r;r�maxsizerw�headersru�_proxy�_proxy_headers�
_proxy_configr}�_rvs              r@rA�HTTPConnectionPool.__init__�s��	����D�1�����.��'�7�+�+��(�(��1�G��?��m�m�G�����8<�
�
�g�8N��	��
��
�+�1�r���)���w��A��I�I�M�M�$�� � !���������:�:�
�L�L�#�#�$4�b�9�$(�J�J�D�L�L��!�+/�+<�+<�D�L�L��(��y�y��	����6��=rCc�>�U=RS-
sl[RSURURUR=(d S5 UR
"SURURURRS.URD6nU$)z)
Return a fresh :class:`HTTPConnection`.
rz(Starting new HTTP connection (%d): %s:%s�80)r:r;rrM)	r{�log�debugr:r;rmr�connect_timeoutr}�r?�conns  r@�	_new_conn�HTTPConnectionPool._new_conn�s���	
����!���	�	�6�� � ��I�I��I�I���		
��!�!�
��������L�L�0�0�
��l�l�	
���rCc���SnURc[US5eURRURUS9nU(a@[U5(a0[RSUR5 UR5 U=(d UR5$![a [US5Se[
Ra! UR(a
[US5SeN�f=f)aY
Get a connection. Will return a pooled connection if one is available.

If no connections are available and :prop:`.block` is ``False``, then a
fresh connection is returned.

:param timeout:
    Seconds to wait before giving up and raising
    :class:`urllib3.exceptions.EmptyPoolError` if the pool is empty and
    :prop:`.block` is ``True``.
NzPool is closed.)rwrzHPool is empty and a new connection can't be opened due to blocking mode.z Resetting dropped connection: %s)rvr�getrw�AttributeErrorre�Emptyrr"r�r�r:rQr�)r?rr�s   r@�	_get_conn�HTTPConnectionPool._get_conns������9�9��!�$�(9�:�:�	��9�9�=�=�t�z�z�7�=�C�D��)�$�/�/��I�I�8�$�)�)�D��J�J�L��'�t�~�~�'�'��!�	E�!�$�(9�:��D��{�{�	��z�z�$��^����
�
	�s�$B!�!AC,�+C,c��URbURRUSS9 gU(aUR5 gg![a N%[Raq U(aUR5 UR(a
[US5Se[RSURURR55 N�f=f)a�
Put a connection back into the pool.

:param conn:
    Connection object for the current host and port as returned by
    :meth:`._new_conn` or :meth:`._get_conn`.

If the pool is already full, the connection is closed and discarded
because we exceeded maxsize. If connections are discarded frequently,
then maxsize should be increased.

If the pool is closed, then the connection will be closed and discarded.
NF�rwz>Pool reached maximum size and no more connections are allowed.zLConnection pool is full, discarding connection: %s. Connection pool size: %s)rvrzr�re�FullrQrwrr��warningr:�qsizer�s  r@�	_put_conn�HTTPConnectionPool._put_conn&s����9�9� �
��	�	�
�
�d�%�
�0��.��J�J�L���-"�
���:�:�
���J�J�L��:�:�'��X�� � �
���b��I�I��I�I�O�O�%��
�s�A�
C�BC�Cc��g)�E
Called right before a request is made, after the socket is created.
NrMr�s  r@�_validate_conn�!HTTPConnectionPool._validate_connQrZrCc��grLrMr�s  r@�_prepare_proxy�!HTTPConnectionPool._prepare_proxyVs��rCc��U[LaURR5$[U[5(aUR5$[R
"U5$)z:Helper that always returns a :class:`urllib3.util.Timeout`)r(r�clonerrr*rs)r?rs  r@�_get_timeout�HTTPConnectionPool._get_timeoutZsJ���&�&��<�<�%�%�'�'��g�w�'�'��=�=�?�"��%�%�g�.�.rCc��[U[5(a[XSUS35Ue[US5(a&UR[
;a[XSUS35Uegg)zAIs the error actually a timeout? Will raise a ReadTimeout or pass�Read timed out. (read timeout=rE�errnoN)rr�
SocketTimeoutr�hasattrr��_blocking_errnos)r?�err�url�
timeout_values    r@�_raise_timeout�!HTTPConnectionPool._raise_timeoutfss���c�=�)�)�"��;�M�?�!�L���
�
�3�� � �S�Y�Y�2B�%B�"��;�M�?�!�L���
�&C� rCTc
��U=RS-
slURU5n
U
R5 [R"U
R
5UlURU5 UR+UUUUUU
UUS9 U
R4nUR6(dUS:Xa[9XSUS35eUUlUR;5nUUlU	UlUUl [BRESUR(URFURHUUURJURLURN5	 U$![[4a nURX�URS9 eSnAff=f![[[[[[4a�nUn[!U[[45(a[U5n[!U[[[[45(aHU(aAUR"(a0UR$(d['X�R"R(5nUeSnAff=f![,a GN�[aHnUR.[.R0:waUR.[.R2:waeSnAGN
SnAff=f![[4anURX�US9 eSnAff=f)	a�
Perform a request on a given urllib connection object taken from our
pool.

:param conn:
    a connection from one of our connection pools

:param method:
    HTTP request method (such as GET, POST, PUT, etc.)

:param url:
    The URL to perform the request on.

:param body:
    Data to send in the request body, either :class:`str`, :class:`bytes`,
    an iterable of :class:`str`/:class:`bytes`, or a file-like object.

:param headers:
    Dictionary of custom headers to send, such as User-Agent,
    If-None-Match, etc. If None, pool headers are used. If provided,
    these headers completely replace any pool-specific headers.

:param retries:
    Configure the number of retries to allow before raising a
    :class:`~urllib3.exceptions.MaxRetryError` exception.

    Pass ``None`` to retry until you receive a response. Pass a
    :class:`~urllib3.util.retry.Retry` object for fine-grained control
    over different types of retries.
    Pass an integer number to retry connection errors that many times,
    but no other types of errors. Pass zero to never retry.

    If ``False``, then retries are disabled and any exception is raised
    immediately. Also, instead of raising a MaxRetryError on redirects,
    the redirect response will be returned.

:type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.

:param timeout:
    If specified, overrides the default timeout for this one
    request. It may be a float (in seconds) or an instance of
    :class:`urllib3.util.Timeout`.

:param chunked:
    If True, urllib3 will send the body using chunked transfer
    encoding. Otherwise, urllib3 will send the body using the standard
    content-length form. Defaults to False.

:param response_conn:
    Set this to ``None`` if you will handle releasing the connection or
    set the connection to have the response release it.

:param preload_content:
  If True, the response's body will be preloaded during construction.

:param decode_content:
    If True, will attempt to decode the body based on the
    'content-encoding' header.

:param enforce_content_length:
    Enforce content length checking. Body returned by server must match
    value of Content-Length header, if present. Otherwise, raise error.
r�r�r�r�N)�bodyr��chunked�preload_content�decode_content�enforce_content_lengthrr�rEz%s://%s:%s "%s %s %s" %s %s)(r|r��
start_connectr*�resolve_default_timeoutr�rr�r�rr��OSErrorrr r'rrrrp�has_connected_to_proxyrr7�requestrr��
EPROTOTYPE�
ECONNRESET�read_timeout�	is_closedr�getresponseru�_connection�_poolr�r�r:r;�version_string�status�length_remaining)r?r��methodr�r�r�rurr��
response_connr�r�r��timeout_obj�e�new_er��responses                  r@�
_make_request� HTTPConnectionPool._make_requestys}��\	
���Q����'�'��0���!�!�#��6�6�{�7R�7R�S���	�
��#�#�D�)�8	��L�L������ /�-�'=�
�	
�2#�/�/���~�~��q� �&��!?��~�Q�O���(�D�L�	��'�'�)�H�#���,�������	�	�)��K�K��I�I��I�I����#�#��O�O��%�%�
	
����w"�<�0�
��#�#��$�,�,�#�O���
��
������

�	� !�E��!�l�,<�=�>�>� �������!3�\�8�L����D�J�J�t�/J�/J�)�%���1B�1B�C���K��#	��H�	���	�
�w�w�%�*�*�*�q�w�w�%�:J�:J�/J����
	��4�g�&�	����A�l��K���	�sg�E�0H7�J�E1�E,�,E1�1E4�4$H4�BH/�/H4�7
J�	J�
=J�J�J>�(J9�9J>c�\�URcgURSsol[U5 grX)rvr�)r?�old_pools  r@rQ�HTTPConnectionPool.close.s+���9�9���"�i�i����)�	 ��)rCc��URS5(ag[U5tp#pEnU=(d SnUb	[XBS9nUR(aU(d[R
"U5nO-UR(dU[R
"U5:XaSnX$U4URURUR4:H$)zR
Check if the given ``url`` is a member of the same host as this
connection pool.
�/TrlNr9)�
startswithr.r-r;rr�r7r:)r?r�r7r�r:r;s      r@�is_same_host�HTTPConnectionPool.is_same_host:s���
�>�>�#����%.�c�N�!��4���!�6����"�4�7�D��9�9�T�!�%�%�f�-�D����t�~�'9�'9�&�'A�A��D��d�#����T�Y�Y��	�	�'J�J�JrCc���[U5nURnUcURn[U[5(d[R
"XVURS9nU
cU
n
U(a"URU5(d[XU5eURS5(a[[U55nO[UR5nSnU
n[URURU5nU(d+UR!5nUR#UR$5 SnSn['X<5nUR)U5nUR+U	S9nUR,UlURb*U(a#UR0(aUR3U5 U
(dUOSnUR<"UUU4UUUUUUU
US.UD6nSnU(dU(aUR[5 SnSnU(aUR]U5 U(d9[^RaSUUU5 URb"UUUUUUU4UU	U
UUU
US
.UD6$U=(a WRe5nU(a�WRfS:XaSnSn[iU5Rk5nURSXUUS9nURq5 URsU5 [^RuSUU5 URb"UUUU4UUUUU	U
UUU
US.
UD6$[wWRRyS55nUR{UURfU5(ajURSXUUS9nURq5 URYU5 [^RuSU5 URb"UUUU4UUUUU	U
UUU
US.
UD6$U$![4[6[84a5nUR;UURRUR.S9 eSnAff=f![>a SnSne[@[B[6[D[4[F[H[J4Ga
nSnUn[U[4[H45(a[GU5n[U[6[L[@[F[B45(aJU(aCUR(a2URN(d![QUURR5nO'[U[6[B45(a[ES	U5nURSXUU[TRV"5S
S9nURY5 UnSnAGNsSnAff=f!U(dU(aUR[5 SnSnU(aUR]U5 ff=f![la' URn(aURq5 eUs$f=f![la' UR|(aURq5 eUs$f=f)a=
Get a connection from the pool and perform an HTTP request. This is the
lowest level call for making a request, so you'll need to specify all
the raw details.

.. note::

   More commonly, it's appropriate to use a convenience method
   such as :meth:`request`.

.. note::

   `release_conn` will only behave as expected if
   `preload_content=False` because we want to make
   `preload_content=False` the default behaviour someday soon without
   breaking backwards compatibility.

:param method:
    HTTP request method (such as GET, POST, PUT, etc.)

:param url:
    The URL to perform the request on.

:param body:
    Data to send in the request body, either :class:`str`, :class:`bytes`,
    an iterable of :class:`str`/:class:`bytes`, or a file-like object.

:param headers:
    Dictionary of custom headers to send, such as User-Agent,
    If-None-Match, etc. If None, pool headers are used. If provided,
    these headers completely replace any pool-specific headers.

:param retries:
    Configure the number of retries to allow before raising a
    :class:`~urllib3.exceptions.MaxRetryError` exception.

    If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a
    :class:`~urllib3.util.retry.Retry` object for fine-grained control
    over different types of retries.
    Pass an integer number to retry connection errors that many times,
    but no other types of errors. Pass zero to never retry.

    If ``False``, then retries are disabled and any exception is raised
    immediately. Also, instead of raising a MaxRetryError on redirects,
    the redirect response will be returned.

:type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.

:param redirect:
    If True, automatically handle redirects (status codes 301, 302,
    303, 307, 308). Each redirect counts as a retry. Disabling retries
    will disable redirect, too.

:param assert_same_host:
    If ``True``, will make sure that the host of the pool requests is
    consistent else will raise HostChangedError. When ``False``, you can
    use the pool on an HTTP proxy and request foreign hosts.

:param timeout:
    If specified, overrides the default timeout for this one
    request. It may be a float (in seconds) or an instance of
    :class:`urllib3.util.Timeout`.

:param pool_timeout:
    If set and the pool is set to block=True, then this method will
    block for ``pool_timeout`` seconds and raise EmptyPoolError if no
    connection is available within the time period.

:param bool preload_content:
    If True, the response's body will be preloaded into memory.

:param bool decode_content:
    If True, will attempt to decode the body based on the
    'content-encoding' header.

:param release_conn:
    If False, then the urlopen call will not release the connection
    back into the pool once a response is received (but will release if
    you read the entire contents of the response such as when
    `preload_content=True`). This is useful if you're not preloading
    the response's content immediately. You will need to call
    ``r.release_conn()`` on the response ``r`` to return the connection
    back into the pool. If None, it takes the value of ``preload_content``
    which defaults to ``True``.

:param bool chunked:
    If True, urllib3 will send the body using chunked transfer
    encoding. Otherwise, urllib3 will send the body using the standard
    content-length form. Defaults to False.

:param int body_pos:
    Position to seek to in file-like body in the event of a retry or
    redirect. Typically this won't need to be set because urllib3 will
    auto-populate the value when needed.
N)�redirect�defaultr�Frr�)rr�r�r�rur�r�r�TzConnection aborted.�)�errorr��_stacktracez1Retrying (%r) after connection broken by '%r': %s)r�pool_timeout�release_connr��body_posr�r�i/�GET)r�r�zRedirecting %s -> %s)
rur��assert_same_hostrr�r�r�r�r�r�zRetry-Afterz	Retry: %s)?r.r7r�rrr&�from_intrur�rr�r/r,r�r#rprq�copy�updaterxr%r�r�r�rr�r�rr�r�r�r�rr rrrr'rrr�r�	increment�sys�exc_info�sleeprQr�r�r��urlopen�get_redirect_locationr�r	�_prepare_for_method_changer�raise_on_redirect�
drain_conn�sleep_for_retryr��boolr��is_retry�raise_on_status)r?r�r�r�r�rur�r�rr�r�r�r�r�r��response_kw�
parsed_url�destination_schemer��release_this_conn�http_tunnel_requiredr��
clean_exitr�r�r�r�r��redirect_location�has_retry_afters                              r@r��HTTPConnectionPool.urlopenPs���b�s�^�
�'�.�.���?��l�l�G��'�5�)�)��n�n�W����V�G���*�L��D�$5�$5�c�$:�$:�"�4�g�6�6��>�>�#������,�-�C�����(�C���)��>��J�J��)�)�+=� 
��$��l�l�n�G��N�N�4�-�-�.����
�%�T�4��e	%��+�+�G�4�K��>�>�,�>�7�D�&�6�6�D�L��z�z�%�*>�4�>�>���'�'��-�)5�D�$�M��)�)����
�$�����+� /�-�
��
�H� �J�^�
��J�J�L��D�$(�!� ����t�$���K�K�C�W�c�SV�
��<�<������� �� �)�)��!� /�-����
�&%�I��)G�)G�)I������#�%�����(��1�L�L�N��
 �!�+�+�F�(�RV�+�W��
���!��#�#�H�-��I�I�,�c�3D�E��<�<��!���	�
 �!�!1��)�)��!� /�-����
�&�x�/�/�3�3�M�B�C�����F�H�O�O�_�E�E�
 �!�+�+�F�(�RV�+�W��
���!��M�M�(�#��I�I�k�3�'��<�<�����	�
 �!�!1��)�)��!� /�-����
�$���u%�g�}�=���'�'��4�:�:�>�>����(����	��>�	��J� %���
��������	
�$	��J� �E��!�l�,<�=�>�>� �������&� ��!��	�	��D�J�J�t�/J�/J�)�%����1B�1B�C���E�G�]�#;�<�<�%�&;�U�C���'�'��5��#�,�,�.�QR�BS�(��G�
�M�M�O��C��I$	��N�
��J�J�L��D�$(�!� ����t�$�	!��R!�
 ��,�,��'�'�)����	
 ��@!�
 ��*�*��'�'�)����	
 �st�0AO4�N'�+O4�U>�<V2�'O1�<0O,�,O1�1O4�4=T;�1C?T6�0T>�6T;�;T>�>=U;�>.V/�.V/�2.W#�"W#)
rwr}r{r|rvrprqrxrur)r:r[r;r\r�_TYPE_TIMEOUT | Noner��intrwr�r��typing.Mapping[str, str] | Noneru�Retry | bool | int | Noner��
Url | Noner�rr�zProxyConfig | Noner}�
typing.Any)r]r1rL)rzfloat | Noner]r1)r��BaseHTTPConnection | Noner]r^�r�r1r]r^)r�
_TYPE_TIMEOUTr]r*)r�z&BaseSSLError | OSError | SocketTimeoutr�r[r�r�r]r^)r�r1r�r[r�r[r��_TYPE_BODY | Noner�rruzRetry | Nonerrr�r�r�rr�r�r�r�r�r�r]r!r_)r�r[r]r�) r�r[r�r[r�rr�rrurr�r�r�r�rrr�r\r�zbool | Noner�r�r�z_TYPE_BODY_POSITION | Noner�r�r�r�r�rr]r!)rGr`rarbrcr7rrmrdr(rAr�r�r�r�r�r�r�r�rQr�r�rhrMrCr@rjrjxs���1�f�F�JX�M�G�X�
 �(8���37�-1�!�:>�,0�;>��;>��;>�&�	;>�
�;>��
;>�1�;>�+�;>��;>�8�;>�*�;>��;>�z�($(�L)�V�

�
/��
3����,�	�

��0#'�37� $�!1��37� $�#�'+�s� �s��s��	s�
 �s�1�
s��s��s��s�1�s��s��s�!%�s�
�s�j
*�K�4#'�37�-1��!%�!1�#'�$(��/3� $�#�p��p��p� �	p�
1�p�+�
p��p��p��p�!�p�"�p��p�-�p��p��p� "�!p�"
�#p�prCrjc��^�\rSrSr%SrSr\rS\S'S\	SSSSSSSSSSSSSSSSS4SU4S	jjjr
SS
jrSSjrSU4Sjjr
S
rU=r$)�HTTPSConnectionPooli�a�
Same as :class:`.HTTPConnectionPool`, but HTTPS.

:class:`.HTTPSConnection` uses one of ``assert_fingerprint``,
``assert_hostname`` and ``host`` in this order to verify connections.
If ``assert_hostname`` is False, no verification is done.

The ``key_file``, ``cert_file``, ``cert_reqs``, ``ca_certs``,
``ca_cert_dir``, ``ssl_version``, ``key_password`` are only used if :mod:`ssl`
is available and are fed into :meth:`urllib3.util.ssl_wrap_socket` to upgrade
the connection socket into an SSL socket.
�httpsztype[BaseHTTPSConnection]rmNrFc��>�[TU]"UUUUUUUUU	4	0UD6 X�lX�lX�lX�lX�lUUlX�lUUl	UUl
UUlUUlgrL)
�superrA�key_file�	cert_file�	cert_reqs�key_password�ca_certs�ca_cert_dir�ssl_version�ssl_minimum_version�ssl_maximum_version�assert_hostname�assert_fingerprint)r?r:r;rr�rwr�rur�r�rrrrrrrrrrrr}�	__class__s                      �r@rA�HTTPSConnectionPool.__init__�s����0	������������	
��	
�!�
�"��"��(�� �
�&���&��#6�� �#6�� �.���"4��rCc���UR(aURRS:XaSnOSnURUURURUR
S9 UR
5 g)z5Establishes a tunnel connection through HTTP CONNECT.rrl)r7r:r;r�N)rpr7�
set_tunnelr>r;rx�connect)r?r��
tunnel_schemes   r@r��"HTTPSConnectionPool._prepare_proxys\���:�:�$�*�*�+�+�w�6�#�M�"�M���� ��"�"�����&�&�		�	
�	
���rCc�2�U=RS-
sl[RSURURUR=(d S5 UR
(aUR
[La[S5eURnURnURbCURRb,URRnURRnUR
"SUUURRURURURURURUR UR"UR$UR&UR(UR*S.UR,D6$)z<
Return a fresh :class:`urllib3.connection.HTTPConnection`.
rz)Starting new HTTPS connection (%d): %s:%s�443zCCan't connect to HTTPS URL because the SSL module is not available.)r:r;rrrrrrrrrrrrrM)r{r�r�r:r;rmr
�ImportErrorrprr�rrrrrrrrrrrr})r?�actual_host�actual_ports   r@r��HTTPSConnectionPool._new_connsA��	
����!���	�	�7�� � ��I�I��I�I���		
��!�!�T�%7�%7�?�%J��U��
� �9�9���i�i���:�:�!�d�j�j�o�o�&A��*�*�/�/�K��*�*�/�/�K��!�!�
����L�L�0�0��n�n��]�]��*�*��n�n��]�]��(�(� �0�0�#�6�6��(�(� $� 8� 8� $� 8� 8�
��l�l�
�	
rCc�>�[TU]U5 UR(aUR5 UR(d<UR
(d*[R"SURS3[5 ggg)r�z0Unverified HTTPS request is being made to host 'z�'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warningsN)
r
r�r�r�is_verified�proxy_is_verified�warnings�warnr:r)r?r�rs  �r@r��"HTTPSConnectionPool._validate_conn=sf���	���t�$��>�>��L�L�N�����(>�(>��M�M�F�t�y�y�k�R$�$�
'�
�)?�rC)rrrrrrrrrrr),r:r[r;r\rr�r�rrwr�r�rrurr�rr�rrr6rr6r�int | str | Nonerr6rr6rr,r�ssl.TLSVersion | Nonerr-rz"str | typing.Literal[False] | Nonerr6rr6r}rr]r^)r�rr]r^)r]r2r)rGr`rarbrcr7rrmrdr(rAr�r�r�rh�
__classcell__)rs@r@r
r
�sO�����F�/>�M�,�>�
 �(8���37�-1�!�:>�#� $�&*�#'�#�(,�59�59�>B�)-�"&�+/5��/5��/5�&�	/5�
�/5��
/5�1�/5�+�/5��/5�8�/5��/5��/5�$�/5�!�/5��/5� &�!/5�"3�#/5�$3�%/5�&<�'/5�('�)/5�* �+/5�,�-/5�.
�//5�/5�b
�'
�R�rCr
c��[U5tp#pEnU=(d SnU=(d [R"US5nUS:Xa[U4SU0UD6$[	U4SU0UD6$)aL
Given a url, return an :class:`.ConnectionPool` instance of its host.

This is a shortcut for not having to parse out the scheme, host, and port
of the url before creating an :class:`.ConnectionPool` instance.

:param url:
    Absolute URL string that must include the scheme. Port is optional.

:param \**kw:
    Passes additional parameters to the constructor of the appropriate
    :class:`.ConnectionPool`. Useful for specifying things like
    timeout, maxsize, headers, etc.

Example::

    >>> conn = connection_from_url('http://google.com/')
    >>> r = conn.request('GET', '/')
rl�Prr;)r.rr�r
rj)r��kwr7r�r:r;s      r@�connection_from_urlr2Tsg��(!*�#���F�t�A�
�
�v�F��1�>�%�%�f�b�1�D�
���"�4�9�d�9�b�9�9�!�$�8�T�8�R�8�8rCc��grLrM�r:r7s  r@r-r-qs��=@rCc��grLrMr4s  r@r-r-us��;>rCc��[X5nU(a1URS5(aURS5(aUSSnU$)z7
Normalize hosts for comparisons and use with sockets.
�[�]r���)r<r��endswithr4s  r@r-r-ys?��
�$�'�D������$�$����s�);�);��A�b�z���KrCc�j�[URURURUS9R$)zZReturns the URL from a given connection pool. This is mainly used for testing and logging.)r7r:r;�path)r+r7r:r;r�)rvr<s  r@�_url_from_poolr=�s'���d�k�k��	�	��	�	��M�Q�Q�QrCc��URSS9nU(aUR5 M(![Ra gf=f)z2Drains a queue of connections and closes each one.Fr�N)r�rQrer�)rvr�s  r@r�r��sC��
���8�8�%�8�(�D���
�
�����;�;�
��
�s�)+�A�A)r�r[r1rr]rj)r:r^r7r6r]r^)r:r[r7r6r]r[)r:r6r7r6r]r6rL)rvz(HTTPConnectionPool | HTTPSConnectionPoolr<r6r]r[)rvzqueue.LifoQueue[typing.Any]r]r^)[�
__future__rr��loggingrer��typingr)r�socketrr��typesr�_base_connectionr�_collectionsr	�_request_methodsr
�
connectionrrr
rrrrrr�
exceptionsrrrrrrrrrrrrr r�r!�util.connectionr"�
util.proxyr#�util.requestr$r%�
util.retryr&�util.ssl_match_hostnamer'�util.timeoutr(r)r*�util.urlr+r,r-r<r.�	util.utilr/�
TYPE_CHECKING�ssl�typing_extensionsr0r1r2�	getLoggerrGr��Union�floatrr4�EAGAIN�EWOULDBLOCKr�rjr
r2�overloadr=r�rMrCr@�<module>rZsU��"����
�
���+��(�(�,�	�	�	�9�����'�2�7�@��5�B�B�)�7���	����&�I�
����!�����W�e�]�D�@�A�
�.�.�d�L�L�%�"3�"3�4��H
���H
�VN�,�N�b9�:���@��@����>��>��&HL�R�
2�R�:D�R��R�
rC

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 6.92 KB 0644
_base_connection.cpython-313.pyc File 6.77 KB 0644
_collections.cpython-313.pyc File 22.09 KB 0644
_request_methods.cpython-313.pyc File 9.69 KB 0644
_version.cpython-313.pyc File 618 B 0644
connection.cpython-313.pyc File 35.66 KB 0644
connectionpool.cpython-313.pyc File 38.17 KB 0644
exceptions.cpython-313.pyc File 16.47 KB 0644
fields.cpython-313.pyc File 11.3 KB 0644
filepost.cpython-313.pyc File 3.38 KB 0644
poolmanager.cpython-313.pyc File 23.38 KB 0644
response.cpython-313.pyc File 58.05 KB 0644
Filemanager