opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
requests
/
__pycache__
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
__init__.cpython-312.pyc
5.26 KB
Rename
Delete
__version__.cpython-312.pyc
554 bytes
Rename
Delete
_internal_utils.cpython-312.pyc
1.95 KB
Rename
Delete
adapters.cpython-312.pyc
27.66 KB
Rename
Delete
api.cpython-312.pyc
6.99 KB
Rename
Delete
auth.cpython-312.pyc
13.57 KB
Rename
Delete
certs.cpython-312.pyc
636 bytes
Rename
Delete
compat.cpython-312.pyc
2.00 KB
Rename
Delete
cookies.cpython-312.pyc
24.58 KB
Rename
Delete
exceptions.cpython-312.pyc
7.38 KB
Rename
Delete
help.cpython-312.pyc
4.20 KB
Rename
Delete
hooks.cpython-312.pyc
1021 bytes
Rename
Delete
models.cpython-312.pyc
34.50 KB
Rename
Delete
packages.cpython-312.pyc
1.06 KB
Rename
Delete
sessions.cpython-312.pyc
27.16 KB
Rename
Delete
status_codes.cpython-312.pyc
5.85 KB
Rename
Delete
structures.cpython-312.pyc
5.46 KB
Rename
Delete
utils.cpython-312.pyc
35.47 KB
Rename
Delete
� (��g�H � � � d Z ddlZddlZddlZddlmZ ddlmZmZm Z m Z mZ ddlZ G d� d� Z G d� d � Zd � Zd� Zdd�Z G d � de� Z G d� de j, e� Zd� Zd� Zd� Zdd�Zd� Zy# e $ r ddlZY �[w xY w)z� requests.cookies ~~~~~~~~~~~~~~~~ Compatibility code to be able to use `http.cookiejar.CookieJar` with requests. requests.utils imports from here, so be careful with imports. � N� )�to_native_string)�Morsel�MutableMapping� cookielib�urlparse� urlunparsec � � e Zd ZdZd� Zd� Zd� Zd� Zd� Zd� Z d� Z dd �Zd� Zd� Z d � Zed� � Zed� � Zed� � Zy )�MockRequesta� Wraps a `requests.Request` to mimic a `urllib2.Request`. The code in `http.cookiejar.CookieJar` expects this interface in order to correctly manage cookie policies, i.e., determine whether a cookie can be set, given the domains of the request and the cookie. The original request object is read-only. The client is responsible for collecting the new headers via `get_new_headers()` and interpreting them appropriately. You probably want `get_cookie_header`, defined below. c �| � || _ i | _ t | j j � j | _ y �N)�_r�_new_headersr �url�scheme�type)�self�requests �?/opt/hc_python/lib/python3.12/site-packages/requests/cookies.py�__init__zMockRequest.__init__# s+ � ��������T�W�W�[�[�)�0�0�� � c � � | j S r )r �r s r �get_typezMockRequest.get_type( s � ��y�y�r c �T � t | j j � j S r )r r r �netlocr s r �get_hostzMockRequest.get_host+ s � �������$�+�+�+r c �"