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

aptanhua@216.73.216.78: ~ $
�

>r*jȅ��B�dZddlmZddlZddlZddlZddlmZddlm	Z	m
Z
mZddlm
Z
ddlmZmZmZdd	lmZdd
lmZddlmZddlmZdd
lmZmZmZddlm Z m!Z!m"Z"m#Z#ddl$m%Z%m&Z&m'Z'm(Z(ddl)m*Z*m+Z+ddl,m-Z-m.Z.m/Z/m0Z0m1Z1ddl2m3Z3ddl4m5Z5ddl6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z>m?Z?m@Z@erddlAmBZBddlCmDZDmEZEddlFmZGddlmHZHej�dk(r
ej�ZKnej
ZKef							d!d�ZLef							d"d�ZMGd�d�ZNGd�deN�ZOd#d �ZPy)$z�
requests.sessions
~~~~~~~~~~~~~~~~~

This module provides a Session object to manage and persist settings across
requests (cookies, auth, proxies).
�)�annotationsN)�OrderedDict)�	Generator�Mapping�MutableMapping)�	timedelta)�
TYPE_CHECKING�Any�cast�)�to_native_string)�is_prepared)�HTTPAdapter)�_basic_auth_str)�	cookielib�urljoin�urlparse)�RequestsCookieJar�cookiejar_from_dict�extract_cookies_to_jar�
merge_cookies)�ChunkedEncodingError�ContentDecodingError�
InvalidSchema�TooManyRedirects)�
default_hooks�
dispatch_hook)�DEFAULT_REDIRECT_LIMIT�REDIRECT_STATI�PreparedRequest�Request�Response)�codes)�CaseInsensitiveDict)
�
DEFAULT_PORTS�default_headers�get_auth_from_url�get_environ_proxies�get_netrc_auth�requote_uri�resolve_proxies�rewind_body�should_bypass_proxies�to_key_val_list)�	CookieJar)�Self�Unpack)�_types)�BaseAdapter�win32c��|�|S|�|St|t�rt|t�s|S|t|��}|jt|��|j	�D��cgc]
\}}|��	|��}}}|D]}||=�|Scc}}w)z�Determines appropriate setting for a given request, taking into account
    the explicit setting on that request, and the setting in the session. If a
    setting is a dictionary, they will be merged together using `dict_class`
    )�
isinstancerr.�update�items)�request_setting�session_setting�
dict_class�merged_setting�k�v�	none_keys�keys        �@/opt/hc_python/lib/python3.12/site-packages/requests/sessions.py�
merge_settingrBLs�����������	�?�G�,��O�W�1U������ @�A�N����/�/�:�;�"0�!5�!5�!7�E�!7�v��1�1�9��!7�I�E����3������	Fs�)
B�4Bc�|�|�|jd�gk(r|S|�|jd�gk(r|St|||�S)z�Properly merges both requests and session hooks.

    This is necessary because when request_hooks == {'response': []}, the
    merge breaks Session hooks entirely.
    �response)�getrB)�
request_hooks�
session_hooksr;s   rA�merge_hooksrHlsO����
� 1� 1�*� =�� C�����
� 1� 1�*� =�� C�����
�z�B�B�c��eZdZUded<ded<ded<dd�Zdd�Zdd	�Z						d																			dd�Z						dd�Z						dd
�Z							dd�Z
y
)�SessionRedirectMixin�int�
max_redirects�bool�	trust_envr�cookiesc��y�N�)�self�request�kwargss   rA�sendzSessionRedirectMixin.send�s��rIc�t�|jr,|jd}|jd�}t|d�Sy)z7Receives a Response. Returns a redirect URI or ``None``�location�latin1�utf8N)�is_redirect�headers�encoder
)rT�resprYs   rA�get_redirect_targetz(SessionRedirectMixin.get_redirect_target�s;������|�|�J�/�H� ���x�0�H�#�H�f�5�5�rIc���t|�}t|�}|j|jk7ry|jdk(r,|jdvr|jdk(r|jdvry|j|jk7}|j|jk7}t	j
|jd�df}|s|j|vr|j|vry|xs|S)zFDecide whether Authorization header should be removed when redirectingT�http)�PN�https)i�NFN)r�hostname�scheme�portr%rE)rT�old_url�new_url�
old_parsed�
new_parsed�changed_port�changed_scheme�default_ports        rA�should_strip_authz&SessionRedirectMixin.should_strip_auth�s����g�&�
��g�&�
����*�"5�"5�5��
����'����:�-��!�!�W�,����;�.��"���*�/�/�9��#�*�*�j�.?�.?�?��%�)�)�*�*;�*;�T�B�D�I������<�/����<�/���-�~�-rINc	
+��K�g}
|j|�}t|j�j}|�r�|j	�}
|
dd|_|
j
|�	|jt|j
�|jk\rtd|j�d�|���|j!�|j#d�r;t|j�}dj%t'|j(�|g�}t|�}|jd	k(r|r|j+|�
�}n|jr|j}|j-�}|j.s t1|jt3|��}nt3|�}t'|�|
_|j5|
|�|j6t8j:t8j<fvr,d}|D]}|
j>jA|d�� d|
_!|
j>}|jAdd�tEd
|
jF�}tI|||j�tK||jL�|
jO|�|jQ|
|�}|jS|
|�|
jTduxr
d|vxsd|v}|rtW|
�|
}|r|��nP|jX|f|||||dd�|	��}tI|jL|
|j�|j|�}|��|r���yy#tttf$r |jjd��Y���wxYw�w)zBReceives a Response. Returns a generator of Responses or Requests.NF)�decode_contentz	Exceeded z redirects.)rDz//�:�)�fragment)�Content-LengthzContent-Type�Transfer-Encoding�Cookier/rurv)�stream�timeout�verify�cert�proxies�allow_redirects)-r`r�urlrt�copy�history�append�contentrr�RuntimeError�raw�read�lenrMr�close�
startswith�joinr
rf�_replace�geturl�netlocrr*�rebuild_method�status_coder#�temporary_redirect�permanent_redirectr]�pop�bodyr�_cookiesrrrP�prepare_cookies�rebuild_proxies�rebuild_auth�_body_positionr,rW)rTr_�reqrxryrzr{r|�yield_requests�adapter_kwargs�histr~�previous_fragment�prepared_request�parsed_rurl�parsed�purged_headers�headerr]�
cookie_jar�
rewindables                     rA�resolve_redirectsz&SessionRedirectMixin.resolve_redirects�s)���� "���&�&�t�,��$�S�W�W�-�6�6���"�x�x�z�� ��7�D�L��K�K���
4�����4�<�<� �D�$6�$6�6�&��� 2� 2�3�;�?�$���

�J�J�L��~�~�d�#�&�t�x�x�0���h�h� 0��1C�1C� D�c�J�K���c�]�F����"�$�):����2C��D�����$*�O�O�!��-�-�/�C�
�=�=��d�h�h��C�(8�9��!�#�&��#3�C�#8�� ���� 0�$�7�����(�(��(�(�(��
"Y��,�F�$�,�,�0�0���>�-�(,� �%�&�.�.�G��K�K��$�'�
�k�+;�+D�+D�E�J�"�:�s�D�H�H�=��*�d�l�l�3��,�,�Z�8��*�*�+;�W�E�G����.��5�
*�8�8��D�� �G�+�M�/B�g�/M�
�
��,�-�#�C���	� �t�y�y��	�!�#�!��#�$)�	�%�	��'�t�|�|�5E�t�x�x�P��.�.�t�4���
�O��)�*>��M�
4����
�
�U�
�3�
4�s1�A!M$�$L-�0J9M$�+M$�-0M!�M$� M!�!M$c�$�|j}t|�sJ�t|�sJ�|j}|j}|j}d|vr|j	||�r|d=|j
rt
|�nd}|�|j|�yy)z�When being redirected we may want to strip authentication from the
        request to avoid leaking credentials. This method intelligently removes
        and reapplies authentication where possible to avoid credential loss.
        �
AuthorizationN)rU�_is_preparedr]r~rorOr)�prepare_auth)rTr�rD�original_requestr]�original_urlr~�new_auths        rAr�z!SessionRedirectMixin.rebuild_auth5s���$�+�+���,�-�-�-��,�-�-�-�"�*�*��'�+�+���"�"���g�%�$�*@�*@��s�*S���(�+/�.�.�>�#�&�d�����)�)�(�3� rIc�F�t|�sJ�|j}t|j�j}t|||j�}d|vr|d=	t||�\}}|jd�s|r|rt||�|d<|S#t$rd\}}Y�6wxYw)a�This method re-evaluates the proxy configuration by considering the
        environment variables. If we are redirected to a URL covered by
        NO_PROXY, we strip the proxy configuration. Otherwise, we set missing
        proxy keys for this URL (in case they were stripped by a previous
        redirect).

        This method also replaces the Proxy-Authorization header where
        necessary.

        :rtype: dict
        zProxy-Authorization�NNrd)r�r]rr~rfr+rOr'�KeyErrorr�r)rTr�r|r]rf�new_proxies�username�passwords        rAr�z$SessionRedirectMixin.rebuild_proxiesNs��� �,�-�-�-�"�*�*���*�.�.�/�6�6��%�&6�����P�� �G�+��-�.�	,�!2�;�v�3F�!G��H�h�� � ��)�h�8�-<�X�x�-P�G�)�*�����	,�!+��H�h�	,�s�B�B �B c��|j}|jtjk(r|dk7rd}|jtjk(r|dk7rd}|jtj
k(r|dk(rd}||_y)z�When being redirected we may want to change the method of the request
        based on certain specs or browser behavior.
        �HEAD�GET�POSTN)�methodr�r#�	see_other�found�moved)rTr�rDr�s    rAr�z#SessionRedirectMixin.rebuild_methodrsx��"�(�(�����5�?�?�2�v��7G��F����5�;�;�.�6�V�3C��F����5�;�;�.�6�V�3C��F�"(��rI�rUr rVr
�returnr")r_r"r�z
str | None)rh�strrir�r�rN)FNTNNF)r_r"r�r rxrNry�_t.TimeoutTyperz�
_t.VerifyTyper{�_t.CertTyper|�dict[str, str] | Noner�rNr�r
r�zGenerator[Response, None, None])r�r rDr"r��None)r�r r|r�r��dict[str, str])�__name__�
__module__�__qualname__�__annotations__rWr`ror�r�r�r�rSrIrArKrKs�����O�
��L��(.�H�"&� $� �)-�$�y��y��y��	y�
 �y��
y��y�'�y��y��y�
)�y�v4� /�4�;C�4�	
�4�2"�)�"�'�"�
�	"�H)� /�)�;C�)�	
�)rIrKc��eZdZUdZded<ded<ded<ded	<d
ed<ded
<ded<ded<ded<ded<ded<ded<gd�Zded<d0d�Zd1d�Zd2d�Zd3d�Z															d4																																	d5d!�Z
	d6							d7d"�Zd8d#�Zd8d$�Z
		d9									d:d%�Z	d6							d;d&�Z	d6							d;d'�Zd8d(�Zd<d)�Z												d=d*�Zd>d+�Zd0d,�Zd?d-�Zd@d.�ZdAd/�Zy )B�Sessiona�A Requests session.

    Provides cookie persistence, connection-pooling, and configuration.

    Basic Usage::

      >>> import requests
      >>> s = requests.Session()
      >>> s.get('https://httpbin.org/get')
      <Response [200]>

    Or as a context manager::

      >>> with requests.Session() as s:
      ...     s.get('https://httpbin.org/get')
      <Response [200]>
    zCaseInsensitiveDict[str]r]�_t.AuthType�authr�r|zdict[str, list[_t.HookType]]�hookszMutableMapping[str, Any]�paramsrNrxr�rzr�r{rLrMrOrrPz MutableMapping[str, BaseAdapter]�adapters)r]rPr�r|r�r�rzr{r�rxrOrMz	list[str]�	__attrs__c�^�t�|_d|_i|_t	�|_i|_d|_d|_d|_	t|_d|_ti�|_t�|_|j#dt%��|j#dt%��y)NFTzhttps://zhttp://)r&r]r�r|rr�r�rxrzr{rrMrOrrPrr��mountr�rTs rA�__init__zSession.__init__�s���'�(�����	�
���#�_��
�
�����������	�4������+�2�.���$�
��
��
�
�:�{�}�-��
�
�9�k�m�,rIc��|SrRrSr�s rA�	__enter__zSession.__enter__�s���rIc�$�|j�yrR)r�)rT�argss  rA�__exit__zSession.__exit__�s���
�
�rIc��td|j�}tt|j�}|jxsi}t|tj�st|�}ttt�|j�|�}|j}|jr|s|jst|�}t�}|j|j!�||j"|j$|j&t)|j*|j*t,��t)|j.|j.�t)||j�|t1|j2|j2���
|S)a�Constructs a :class:`PreparedRequest <PreparedRequest>` for
        transmission and returns it. The :class:`PreparedRequest` has settings
        merged from the :class:`Request <Request>` instance and those of the
        :class:`Session`.

        :param request: :class:`Request` instance to prepare with this
            session's settings.
        :rtype: requests.PreparedRequest
        �
_t.UriType)r;)
r�r~�files�data�jsonr]r�r�rPr�)rr~r�r�rPr6rr/rrrr�rOr)r �prepare�upperr�r�r�rBr]r$r�rHr�)rTrUr~r�rP�merged_cookiesr��ps        rA�prepare_requestzSession.prepare_request�s"���<����-���c�7�>�>�*���/�/�'�R���'�9�#6�#6�7�)�'�2�G�'��+�-�t�|�|�<�g�
��
�|�|���>�>�$�t�y�y�!�#�&�D����	�	�	��<�<�>���-�-�������!�������:M��!�������=��t�T�Y�Y�/�"��g�m�m�T�Z�Z�8�	�
	
��rINc�v�t|t�r|jd�}t|j	�||||xsi||xsi|||��
}|j|�}t
|�sJ�|xsi}|j|j||
||�}|	|
d�}|j|�|j|fi|��}|S)a
Constructs a :class:`Request <Request>`, prepares it and sends it.
        Returns :class:`Response <Response>` object.

        :param method: method for the new :class:`Request` object.
        :param url: URL for the new :class:`Request` object.
        :param params: (optional) Dictionary or bytes to be sent in the query
            string for the :class:`Request`.
        :param data: (optional) Dictionary, list of tuples, bytes, or file-like
            object to send in the body of the :class:`Request`.
        :param json: (optional) json to send in the body of the
            :class:`Request`.
        :param headers: (optional) Dictionary of HTTP Headers to send with the
            :class:`Request`.
        :param cookies: (optional) Dict or CookieJar object to send with the
            :class:`Request`.
        :param files: (optional) Dictionary of ``'filename': file-like-objects``
            for multipart encoding upload.
        :param auth: (optional) Auth tuple or callable to enable
            Basic/Digest/Custom HTTP Auth.
        :param timeout: (optional) How many seconds to wait for the server to send
            data before giving up, as a float, or a :ref:`(connect timeout,
            read timeout) <timeouts>` tuple.
        :type timeout: float or tuple
        :param allow_redirects: (optional) Set to True by default.
        :type allow_redirects: bool
        :param proxies: (optional) Dictionary mapping protocol or protocol and
            hostname to the URL of the proxy.
        :param hooks: (optional) Dictionary mapping hook name to one event or
            list of events, event must be callable.
        :param stream: (optional) whether to immediately download the response
            content. Defaults to ``False``.
        :param verify: (optional) Either a boolean, in which case it controls whether we verify
            the server's TLS certificate, or a string, in which case it must be a path
            to a CA bundle to use. Defaults to ``True``. When set to
            ``False``, requests will accept any TLS certificate presented by
            the server, and will ignore hostname mismatches and/or expired
            certificates, which will make your application vulnerable to
            man-in-the-middle (MitM) attacks. Setting verify to ``False``
            may be useful during local development or testing.
        :param cert: (optional) if String, path to ssl client cert file (.pem).
            If Tuple, ('cert', 'key') pair.
        :rtype: requests.Response
        zutf-8)
r�r~r]r�r�r�r�r�rPr�)ryr})r6�bytes�decoder!r�r�r��merge_environment_settingsr~r7rW)rTr�r~r�r�r]rPr�r�ryr}r|r�rxrzr{r�r��prep�settings�send_kwargsr_s                      rArUzSession.request-s���|�c�5�!��*�*�W�%�C���<�<�>���������<�R����
���#�#�C�(���D�!�!�!��-�R���2�2��H�H�g�v�v�t�
���.�
��	���8�$��t�y�y��-��-���rIc�R�|jdd�|jd|fd|i|��S)aiSends a GET request. Returns :class:`Response` object.

        :param url: URL for the new :class:`Request` object.
        :param params: (optional) Dictionary, list of tuples or bytes to send
        in the query string for the :class:`Request`.
        :param \*\*kwargs: Optional arguments that ``request`` takes.
        :rtype: requests.Response
        r}Tr�r���
setdefaultrU)rTr~r�rVs    rArEzSession.get�s2��	���+�T�2��t�|�|�E�3�@�v�@��@�@rIc�N�|jdd�|jd|fi|��S)z�Sends a OPTIONS request. Returns :class:`Response` object.

        :param url: URL for the new :class:`Request` object.
        :param \*\*kwargs: Optional arguments that ``request`` takes.
        :rtype: requests.Response
        r}T�OPTIONSr��rTr~rVs   rA�optionszSession.options�s-��	���+�T�2��t�|�|�I�s�5�f�5�5rIc�N�|jdd�|jd|fi|��S)z�Sends a HEAD request. Returns :class:`Response` object.

        :param url: URL for the new :class:`Request` object.
        :param \*\*kwargs: Optional arguments that ``request`` takes.
        :rtype: requests.Response
        r}Fr�r�r�s   rA�headzSession.head�s-��	���+�U�3��t�|�|�F�C�2�6�2�2rIc�0�|jd|f||d�|��S)a�Sends a POST request. Returns :class:`Response` object.

        :param url: URL for the new :class:`Request` object.
        :param data: (optional) Dictionary, list of tuples, bytes, or file-like
            object to send in the body of the :class:`Request`.
        :param json: (optional) json to send in the body of the :class:`Request`.
        :param \*\*kwargs: Optional arguments that ``request`` takes.
        :rtype: requests.Response
        r�)r�r��rU)rTr~r�r�rVs     rA�postzSession.post�s#��"�t�|�|�F�C�H�d��H��H�HrIc�.�|jd|fd|i|��S)auSends a PUT request. Returns :class:`Response` object.

        :param url: URL for the new :class:`Request` object.
        :param data: (optional) Dictionary, list of tuples, bytes, or file-like
            object to send in the body of the :class:`Request`.
        :param \*\*kwargs: Optional arguments that ``request`` takes.
        :rtype: requests.Response
        �PUTr�r��rTr~r�rVs    rA�putzSession.put�s!���t�|�|�E�3�<�T�<�V�<�<rIc�.�|jd|fd|i|��S)awSends a PATCH request. Returns :class:`Response` object.

        :param url: URL for the new :class:`Request` object.
        :param data: (optional) Dictionary, list of tuples, bytes, or file-like
            object to send in the body of the :class:`Request`.
        :param \*\*kwargs: Optional arguments that ``request`` takes.
        :rtype: requests.Response
        �PATCHr�r�r�s    rA�patchz
Session.patch�s!���t�|�|�G�S�>�t�>�v�>�>rIc�*�|jd|fi|��S)z�Sends a DELETE request. Returns :class:`Response` object.

        :param url: URL for the new :class:`Request` object.
        :param \*\*kwargs: Optional arguments that ``request`` takes.
        :rtype: requests.Response
        �DELETEr�r�s   rA�deletezSession.delete�s���t�|�|�H�c�4�V�4�4rIc��|jd|j�|jd|j�|jd|j�d|vr$t	||j
|j�|d<t|t�rtd��t|�sJ�|jdd�}|jd�}|j}|j|j��}t!�}|j"|fi|��}t!�|z
}	t%|	�	�|_t)d
||fi|��}|j*r<|j*D]-}
t-|j.|
j0|
j2��/t-|j.||j2�|r$|j4||fi|��}|D�
cgc]}
|
��}}
ng}|r)|j7d|�|j�}||_|s%	t9|j4||fddi|���|_|s|j>|Scc}
w#t<$rY� wxYw)
zISend a given PreparedRequest.

        :rtype: requests.Response
        rxrzr{r|z#You can only send PreparedRequests.r}T)r~)�secondsrDrr�) r�rxrzr{r+r|rOr6r!�
ValueErrorr�r�rEr��get_adapterr~�preferred_clockrWr�elapsedrr�rrPrUr�r��insert�next�_next�
StopIterationr�)
rTrUrVr}rxr��adapter�start�rrr_�genr�s
             rArWzSession.send�s��	���(�D�K�K�0����(�D�K�K�0����&�$�)�)�,��F�"� /�����t�~�~� V�F�9���g�w�'��B�C�C��G�$�$�$�!�*�*�%6��=�����H�%���
�
���"�"�w�{�{�"�3�� �!��
�G�L�L��+�F�+��"�#�e�+���g�.��	�
�*�e�Q�9�&�9��
�9�9��	�	��&�t�|�|�T�\�\�4�8�8�L�"�	�t�|�|�W�a�e�e�<��(�$�(�(��G�>�v�>�C�(+�,���t��G�,��G���N�N�1�a� ����
�A��A�I��
��*�D�*�*�1�g�U�d�U�f�U�����
�I�I����1-��$!�
��
�s�<	H,�8$H1�1	H=�<H=c��|jr�|�|jd�nd}t||��}|�*|j�D]\}}	|j	||	��|dus|�Dt
jjd�xs#t
jjd�xs|}t||j�}t||j�}t||j�}t||j�}||||d�S)z^
        Check the environment and merge it with some settings.

        :rtype: dict
        N�no_proxy)rT�REQUESTS_CA_BUNDLE�CURL_CA_BUNDLE)r|rxrzr{)rOrEr(r8r��os�environrBr|rxrzr{)
rTr~r|rxrzr{r�env_proxiesr=r>s
          rAr�z"Session.merge_environment_settings?s����>�>�29�2E�w�{�{�:�.�4�H�-�c�H�E�K��"�'�-�-�/�D�A�q��&�&�q�!�,�0�
��~����J�J�N�N�#7�8���z�z�~�~�&6�7���� �����6���v�t�{�{�3���v�t�{�{�3���T�4�9�9�-��"�f��PT�U�UrIc���|jj�D]6\}}|j�j|j��s�4|cSt	d|����)z~
        Returns the appropriate connection adapter for the given URL.

        :rtype: requests.adapters.BaseAdapter
        z&No connection adapters were found for )r�r8�lowerr�r)rTr~�prefixr	s    rArzSession.get_adapterfsS�� $�}�}�2�2�4�O�F�G��y�y�{�%�%�f�l�l�n�5��� 5�
�D�S�G�L�M�MrIc�b�|jj�D]}|j��y)z+Closes all adapters and as such the sessionN)r��valuesr�)rTr>s  rAr�z
Session.closess"�����%�%�'�A�
�G�G�I�(rIc���||j|<|jD�cgc]}t|�t|�ks�|��}}|D]*}|jj|�|j|<�,ycc}w)zwRegisters a connection adapter to a prefix.

        Adapters are sorted in descending order by prefix length.
        N)r�r�r�)rTrr	r=�keys_to_mover@s      rAr�z
Session.mountxsf��
!(��
�
�f��#'�=�=�I�=�a�C��F�S��[�4H��=��I��C�!%���!2�!2�3�!7�D�M�M�#�� ��Js
�A1�A1c	�Z�|jD�cic]}|t||d���}}|Scc}wrR)r��getattr)rT�attr�states   rA�__getstate__zSession.__getstate__�s3��=A�^�^�L�^�T��w�t�T�4�0�0�^��L����Ms�(c�N�|j�D]\}}t|||��yrR)r8�setattr)rTrr�values    rA�__setstate__zSession.__setstate__�s"�� �;�;�=�K�D�%��D�$��&�)rI)r�r�)r�r0)r�r
r�r�)rUr!r�r )NNNNNNNTNNNNNN)"r�r�r~r�r��
_t.ParamsTyper��_t.DataTyper]z_t.HeadersTyperPz5RequestsCookieJar | CookieJar | dict[str, str] | Noner�z_t.FilesTyper�r�ryr�r}rNr|r�r�z_t.HooksInputType | Nonerx�bool | Nonerz�_t.VerifyType | Noner{r�r��_t.JsonTyper�r"rR)r~r�r�r$rVzUnpack[_t.GetKwargs]r�r")r~r�rVzUnpack[_t.RequestKwargs]r�r"r�)
r~r�r�r%r�r(rVzUnpack[_t.PostKwargs]r�r")r~r�r�r%rVzUnpack[_t.DataKwargs]r�r"r�)r~r�r|r�rxr&rzr'r{r�r��dict[str, Any])r~r�r�r3)rr�r	r3r�r�)r�r))rr)r�r�)r�r�r��__doc__r�r�r�r�r�r�rUrEr�r�r�r�r�r�rWr�rr�r�rr#rSrIrAr�r��s����$&�%�
��
��'�'�$�$��L���
�����O�
��.�.�
�I�y�
�=-�~��,�d!%� �"&�IM�"� �"&� $�)-�*.�"�'+� � �#`��`��`��	`�
�`� �
`�G�`��`��`� �`��`�'�`�(�`��`�%�`� �!`�"�#`�$
�%`�J!%�A�
�A��A�'�	A�

�A�$	6�	3�!� �	I�
�I��I��	I�
(�I�
�
I�(48�=��=�%0�=�CX�=�	�=�48�?��?�%0�?�CX�?�	�?�5�M�^%V�
�%V�'�%V��	%V�
%�%V��
%V�
�%V�NN��
	8��'rIr�c��t�S)aZ
    Returns a :class:`Session` for context-management.

    .. deprecated:: 1.0.0

        This method has been deprecated since version 1.0.0 and is only kept for
        backwards compatibility. New code should use :class:`~requests.sessions.Session`
        to create a session. This may be removed at a future date.

    :rtype: Session
    )r�rSrIrA�sessionr,�s���9�rI)r9r
r:r
r;�typer�r
)rF�_t.HooksTyperGr.r;r-r�r.)r�r�)Qr*�
__future__rr�sys�time�collectionsr�collections.abcrrr�datetimer�typingr	r
r�_internal_utilsr
r2rr�r�rr�r�compatrrrrPrrrr�
exceptionsrrrrr�rr�modelsrrr r!r"�status_codesr#�
structuresr$�utilsr%r&r'r(r)r*r+r,r-r.�http.cookiejarr/�typing_extensionsr0r1rs�_tr3�platform�perf_counterrrBrHrKr�r,rSrIrA�<module>rBs+���#�	�
��#�>�>��+�+�-�/�!�!�0�0�����0��� �+�����(�.��%��<�<�7���'�'�O��i�i�O�DO����+.��<@����F#�C��C��C��C��	C�&I)�I)�X~'�"�~'�BrI

Filemanager

Name Type Size Permission Actions
__init__.cpython-312.pyc File 5.62 KB 0644
__version__.cpython-312.pyc File 554 B 0644
_internal_utils.cpython-312.pyc File 2.05 KB 0644
_types.cpython-312.pyc File 7.07 KB 0644
adapters.cpython-312.pyc File 28.9 KB 0644
api.cpython-312.pyc File 7.83 KB 0644
auth.cpython-312.pyc File 15.39 KB 0644
certs.cpython-312.pyc File 636 B 0644
compat.cpython-312.pyc File 2.41 KB 0644
cookies.cpython-312.pyc File 27.67 KB 0644
exceptions.cpython-312.pyc File 7.74 KB 0644
help.cpython-312.pyc File 4.19 KB 0644
hooks.cpython-312.pyc File 1.52 KB 0644
models.cpython-312.pyc File 40.9 KB 0644
packages.cpython-312.pyc File 1.06 KB 0644
sessions.cpython-312.pyc File 31.13 KB 0644
status_codes.cpython-312.pyc File 5.97 KB 0644
structures.cpython-312.pyc File 7.08 KB 0644
utils.cpython-312.pyc File 39.06 KB 0644