Sindbad~EG File Manager
3
�Pf�2 � @ s� d Z ddlZddlZddlZddlZddlmZ ddlmZ ddl m
Z
ddlmZ ej
e�Zejd�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 j| �j� }|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 � /usr/lib/python3.6/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 s"