%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
a
�_g�H � @ s� d Z ddlZddlZddlZddlmZ ddlmZmZm Z m
Z
mZ zddlZW n e
yj ddlZY n0 G dd� d�ZG dd � d �Zd
d� Zdd
� Zddd�ZG dd� de�ZG dd� de je�Zdd� Zdd� Zdd� Zd dd�Zdd� ZdS )!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 @ 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 `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 C s || _ i | _t| j j�j| _d S �N)�_r�_new_headersr �url�scheme�type)�self�request� r �=/vddos/python/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_host. 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 )N�Hostzutf-8)�encoding)r �headers�getr
r r r r �path�params�query�fragment)r �host�parsedr r r �get_full_url1 s ��zMockRequest.get_full_urlc C s dS �NTr r r r r �is_unverifiableE s zMockRequest.is_unverifiablec C s || j jv p|| jv S r
)r r r �r �namer r r �
has_headerH s zMockRequest.has_headerNc C s | j j�|| j�||��S r
)r r r r )r r) �defaultr r r �
get_headerK s zMockRequest.get_headerc C s t d��dS )zMcookiejar 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_headerN s �zMockRequest.add_headerc C s || j |<