Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
alt
/
python38
/
lib
/
python3.8
/
site-packages
/
pip
/
_vendor
/
cachecontrol
/
__pycache__
[ HOME ]
Exec
Submit
controller.cpython-38.pyc
U ʗRe @ � @ s� d Z ddlZddlZddlZddlZddlmZ ddlmZ ddl m Z mZ ddlm Z e�e�Ze�d�Zd Zd d� ZG dd � d e�ZdS )z7 The httplib2 algorithms ported for use with requests. � N)�parsedate_tz)�CaseInsensitiveDict� )� DictCache�SeparateBodyBaseCache)� Serializerz9^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?)�- �4 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 ��/builddir/build/BUILDROOT/alt-python38-pip-22.2.1-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/pip/_vendor/cachecontrol/controller.py� parse_uri s r c @ sf e Zd ZdZddd�Zedd� �Zedd � �Zd d� Zdd � Z dd� Z ddd�Zddd�Zdd� Z dS )�CacheControllerz4An interface to see if request should cached or not.NTc C s4 |d krt � n|| _|| _|p"t� | _|p,d| _d S )N)�� �� i, r r )r �cache�cache_etagsr � serializer�cacheable_status_codes)�selfr r r �status_codesr r r �__init__'