$66 GRAYBYTE WORDPRESS FILE MANAGER $29

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.15.130 | ADMIN IP 216.73.217.100
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/usr/lib/python3.8/site-packages/pip/_vendor/cachecontrol/__pycache__/

HOME
Current File : /usr/lib/python3.8/site-packages/pip/_vendor/cachecontrol/__pycache__//adapter.cpython-38.pyc
U

��.e��@s\ddlZddlZddlZddlmZddlmZddlmZddl	m
Z
Gdd�de�ZdS)	�N)�HTTPAdapter�)�CacheController)�	DictCache)�CallbackFileWrappercsNeZdZddhZd�fdd�	Zd�fdd�	Zd�fd
d�	Z�fdd
�Z�ZS)�CacheControlAdapterZPUTZDELETENTc
sLtt|�j||�|pt�|_||_|p*d|_|p4t}	|	|j||d�|_dS)N)ZGET)�cache_etags�
serializer)	�superr�__init__r�cache�	heuristic�cacheable_methodsr�
controller)
�selfrrZcontroller_classr	r
r�args�kwZcontroller_factory��	__class__��D/usr/lib/python3.8/site-packages/pip/_vendor/cachecontrol/adapter.pyrs
�zCacheControlAdapter.__init__cs�|p|j}|j|krhz|j�|�}Wntjk
r>d}YnX|rT|j||dd�S|j�|j�	|��t
t|�j|f|�}|S)z�
        Send a request. Use the request information to see if it
        exists in the cache and cache the response if we need to and can.
        NT)�
from_cache)
r�methodrZcached_request�zlib�error�build_responseZheaders�updateZconditional_headersr
r�send)r�requestrr�	cacheable�cached_response�resprrrr$s


zCacheControlAdapter.sendFc
s|p|j}|s�|j|kr�|jr*|j�|�}|jdkrh|j�||�}||k	rNd}|jdd�|��|}n\|jdkr�|j�	||�nBt
|jt�
|jj	||��|_|jr�|j��fdd�}t�||�|_tt|��||�}|j|jk�r|j�r|j�|j�}	|j�|	�||_|S)z�
        Build a response by making a request or using the cache.

        This will end up calling send and returning a potentially
        cached response
        i0TF)Zdecode_contenti-cs��|jdkr|j��dS)Nr)Z
chunk_left�_fpZ_close�r�Zsuper_update_chunk_lengthrr�_update_chunk_lengthns
[email protected]_response.<locals>._update_chunk_length)rrr
ZapplyZstatusrZupdate_cached_response�readZrelease_connZcache_responserr"�	functools�partialZchunkedr%�types�
MethodTyper
rr�invalidating_methods�ok�	cache_urlZurlr�deleter)
rrZresponserrrr r%r!r-rr$rr9sJ	

�
���z"CacheControlAdapter.build_responsecs|j��tt|���dS)N)r�closer
rr#rrrr/�s
zCacheControlAdapter.close)NTNNNN)N)FN)	�__name__�
__module__�__qualname__r+rrrr/�
__classcell__rrrrrs��Jr)r)r'rZpip._vendor.requests.adaptersrrrrrZfilewrapperrrrrrr�<module>s


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
21 Mar 2024 10.19 AM
root / root
0755
__init__.cpython-38.opt-1.pyc
0.501 KB
17 Oct 2023 6.30 PM
root / root
0644
__init__.cpython-38.pyc
0.501 KB
17 Oct 2023 6.30 PM
root / root
0644
_cmd.cpython-38.opt-1.pyc
1.504 KB
17 Oct 2023 6.30 PM
root / root
0644
_cmd.cpython-38.pyc
1.504 KB
17 Oct 2023 6.30 PM
root / root
0644
adapter.cpython-38.opt-1.pyc
2.968 KB
17 Oct 2023 6.30 PM
root / root
0644
adapter.cpython-38.pyc
2.968 KB
17 Oct 2023 6.30 PM
root / root
0644
cache.cpython-38.opt-1.pyc
1.705 KB
17 Oct 2023 6.30 PM
root / root
0644
cache.cpython-38.pyc
1.705 KB
17 Oct 2023 6.30 PM
root / root
0644
compat.cpython-38.opt-1.pyc
0.703 KB
17 Oct 2023 6.30 PM
root / root
0644
compat.cpython-38.pyc
0.703 KB
17 Oct 2023 6.30 PM
root / root
0644
controller.cpython-38.opt-1.pyc
7.48 KB
17 Oct 2023 6.30 PM
root / root
0644
controller.cpython-38.pyc
7.48 KB
17 Oct 2023 6.30 PM
root / root
0644
filewrapper.cpython-38.opt-1.pyc
2.089 KB
17 Oct 2023 6.30 PM
root / root
0644
filewrapper.cpython-38.pyc
2.089 KB
17 Oct 2023 6.30 PM
root / root
0644
heuristics.cpython-38.opt-1.pyc
4.588 KB
17 Oct 2023 6.30 PM
root / root
0644
heuristics.cpython-38.pyc
4.588 KB
17 Oct 2023 6.30 PM
root / root
0644
serialize.cpython-38.opt-1.pyc
4.112 KB
17 Oct 2023 6.30 PM
root / root
0644
serialize.cpython-38.pyc
4.112 KB
17 Oct 2023 6.30 PM
root / root
0644
wrapper.cpython-38.opt-1.pyc
0.614 KB
17 Oct 2023 6.30 PM
root / root
0644
wrapper.cpython-38.pyc
0.614 KB
17 Oct 2023 6.30 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF