OXIESEC PANEL
- Current Dir:
/
/
lib
/
python3.9
/
site-packages
/
requests
/
__pycache__
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/14/2024 03:10:02 PM
rwxr-xr-x
📄
__init__.cpython-39.opt-1.pyc
3.21 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
__init__.cpython-39.pyc
3.35 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
__version__.cpython-39.opt-1.pyc
507 bytes
04/01/2024 09:29:20 PM
rw-r--r--
📄
__version__.cpython-39.pyc
507 bytes
04/01/2024 09:29:20 PM
rw-r--r--
📄
_internal_utils.cpython-39.opt-1.pyc
1.2 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
_internal_utils.cpython-39.pyc
1.22 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
adapters.cpython-39.opt-1.pyc
16.46 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
adapters.cpython-39.pyc
16.46 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
api.cpython-39.opt-1.pyc
6.55 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
api.cpython-39.pyc
6.55 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
auth.cpython-39.opt-1.pyc
8.09 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
auth.cpython-39.pyc
8.09 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
certs.cpython-39.opt-1.pyc
832 bytes
04/01/2024 09:29:20 PM
rw-r--r--
📄
certs.cpython-39.pyc
832 bytes
04/01/2024 09:29:20 PM
rw-r--r--
📄
compat.cpython-39.opt-1.pyc
1.57 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
compat.cpython-39.pyc
1.57 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
cookies.cpython-39.opt-1.pyc
18.33 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
cookies.cpython-39.pyc
18.33 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
exceptions.cpython-39.opt-1.pyc
5.06 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
exceptions.cpython-39.pyc
5.06 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
help.cpython-39.opt-1.pyc
2.55 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
help.cpython-39.pyc
2.55 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
hooks.cpython-39.opt-1.pyc
942 bytes
04/01/2024 09:29:20 PM
rw-r--r--
📄
hooks.cpython-39.pyc
942 bytes
04/01/2024 09:29:20 PM
rw-r--r--
📄
models.cpython-39.opt-1.pyc
23.26 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
models.cpython-39.pyc
23.26 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
packages.cpython-39.opt-1.pyc
361 bytes
04/01/2024 09:29:20 PM
rw-r--r--
📄
packages.cpython-39.pyc
361 bytes
04/01/2024 09:29:20 PM
rw-r--r--
📄
sessions.cpython-39.opt-1.pyc
19.35 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
sessions.cpython-39.pyc
19.35 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
status_codes.cpython-39.opt-1.pyc
4.09 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
status_codes.cpython-39.pyc
4.09 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
structures.cpython-39.opt-1.pyc
4.31 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
structures.cpython-39.pyc
4.31 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
utils.cpython-39.opt-1.pyc
23.28 KB
04/01/2024 09:29:20 PM
rw-r--r--
📄
utils.cpython-39.pyc
23.28 KB
04/01/2024 09:29:20 PM
rw-r--r--
Editing: cookies.cpython-39.opt-1.pyc
Close
a /'f�G � @ s� d Z ddlZddlZddlZddlmZ ddlmZmZm Z m Z mZ zddlZW n e yj ddlZY n0 G dd� de�ZG dd � d e�Zd d� Zdd � Zddd�ZG dd� de�ZG dd� deje�Zdd� Zdd� Zdd� Zd dd�Zdd� ZdS )!z� requests.cookies ~~~~~~~~~~~~~~~~ Compatibility code to be able to use `cookielib.CookieJar` with requests. requests.utils imports from here, so be careful with imports. � N� )�to_native_string)� cookielib�urlparse� urlunparse�Morsel�MutableMappingc @ s� e Zd ZdZdd� Zdd� Zdd� Zdd � Zd d� Zdd � Z dd� Z ddd�Zdd� Zdd� Z dd� Zedd� �Zedd� �Zedd� �ZdS ) �MockRequesta� Wraps a `requests.Request` to mimic a `urllib2.Request`. The code in `cookielib.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 C s || _ i | _t| j j�j| _d S �N)�_r�_new_headersr �url�scheme�type)�self�request� r �4/usr/lib/python3.9/site-packages/requests/cookies.py�__init__% s zMockRequest.__init__c C s | j S r )r �r r r r �get_type* s zMockRequest.get_typec C s t | jj�jS r )r r r �netlocr r r r �get_host- s zMockRequest.get_hostc C s | � � S r �r r r r r �get_origin_req_host0 s zMockRequest.get_origin_req_hostc C sT | j j�d�s| j jS t| j jd dd�}t| j j�}t|j||j|j |j |jg�S )NZHostzutf-8)�encoding)r �headers�getr r r r r �path�params�query�fragment)r �host�parsedr r r �get_full_url3 s �zMockRequest.get_full_urlc C s dS �NTr r r r r �is_unverifiableA s zMockRequest.is_unverifiablec C s || j jv p|| jv S r )r r r �r �namer r r � has_headerD s zMockRequest.has_headerNc C s | j j�|| j�||��S r )r r r r )r r( �defaultr r r � get_headerG s zMockRequest.get_headerc C s t d��dS )zMcookielib has no legitimate use for this method; add it back if you find one.z=Cookie headers should be added with add_unredirected_header()N)�NotImplementedError)r �key�valr r r � add_headerJ s zMockRequest.add_headerc C s || j |<