| Server IP : 185.143.234.130 / Your IP : 185.215.232.195 Web Server : LiteSpeed System : Linux jambul.7ho.st 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64 User : renecafe ( 1327) PHP Version : 8.1.33 Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3.9/site-packages/pip/_vendor/cachecontrol/__pycache__/ |
Upload File : |
a
[��fE7 � @ s� d Z ddlZddlZddlZddlZddlmZ ddlmZ ddl m
Z
ddlmZ e�
e�Ze�d�Zd d
� ZG dd� de�ZdS )
z7
The httplib2 algorithms ported for use with requests.
� N)�parsedate_tz)�CaseInsensitiveDict� )� DictCache)�
Serializerz9^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?c C s0 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
� r �G/usr/lib/python3.9/site-packages/pip/_vendor/cachecontrol/controller.py� parse_uri s r c @ s\ e Zd ZdZddd�Zedd� �Zedd � �Zd
d� Zdd
� Z dd� Z
ddd�Zdd� ZdS )�CacheControllerz9An interface to see if request should cached or not.
NTc C s4 |d u rt � n|| _|| _|p"t� | _|p,d| _d S )N)�� �� i, �- )r �cache�cache_etagsr �
serializer�cacheable_status_codes)�selfr r r �status_codesr r r �__init__"