| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/pip/_vendor/cachecontrol/__pycache__/ |
Upload File : |
�
�/�c @ � �� � d Z ddlZddlZddlZddlZddlmZ ddlmZ ddl m
Z
mZ ddlm
Z
ej e� � Z ej d� � Zd Zd
� Z G d� de� � ZdS )
z7
The httplib2 algorithms ported for use with requests.
� N)�parsedate_tz)�CaseInsensitiveDict� )� DictCache�SeparateBodyBaseCache)�
Serializerz9^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?)�- �4 c � � t � | � � � � � }|d |d |d |d |d fS )z�Parses a URI using the regex given in Appendix B of RFC 3986.
(scheme, authority, path, query, fragment) = parse_uri(uri)
r � � � � )�URI�match�groups)�urir s �E/usr/lib/python3/dist-packages/pip/_vendor/cachecontrol/controller.py� parse_urir sD � �
�Y�Y�s�^�^�
"�
"�
$�
$�F��1�I�v�a�y�&��)�V�A�Y��q� �B�B� c �p � e Zd ZdZ d
d�Zed� � � Zed� � � Zd� Zd� Z d � Z
dd
�Zdd�Zd� Z
dS )�CacheControllerz4An interface to see if request should cached or not.NTc �~ � |�t � � n|| _ || _ |p
t � � | _ |pd| _ d S )N)�� �� i, r r
)r �cache�cache_etagsr �
serializer�cacheable_status_codes)�selfr r r �status_codess r �__init__zCacheController.__init__'