File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-310.pyc
Back
o ;j�J � @ s� d Z ddlmZ ddlZddlZddlZddlZddlZddlm Z ddl mZmZm Z ddlmZ ddlmZmZ ddlmZ erZdd l mZ dd lmZ ddlmZ ddlmZ e�e�Ze�d �ZdZ ddd�Z!G dd� d�Z"dS )z7 The httplib2 algorithms ported for use with requests. � )�annotationsN)�parsedate_tz)� TYPE_CHECKING� Collection�Mapping)�CaseInsensitiveDict)� DictCache�SeparateBodyBaseCache)� Serializer)�Literal)�PreparedRequest)�HTTPResponse)� BaseCachez9^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?)�- �4 �uri�str�return�tuple[str, str, str, str, str]c C s@ t �| �}|dusJ �|�� }|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) N� � � � � )�URI�match�groups)r r r � r �W/opt/saltstack/salt/lib/python3.10/site-packages/pip/_vendor/cachecontrol/controller.py� parse_uri'