OwlCyberSecurity - MANAGER
Edit File: controller.cpython-39.pyc
a )��e @ � @ 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 �d/home/gouroczh/virtualenv/pat/3.9/lib/python3.9/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 u rt � 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__'