U
    ƒIÀd  ã                   @   s&   d dl mZ d dlmZ ddd„ZdS )é   )ÚCacheControlAdapter)Ú	DictCacheNTc           	      C   sJ   |d krt ƒ n|}|pt}|||||||d�}|  d|¡ |  d|¡ | S )N)Úcache_etagsÚ
serializerÚ	heuristicÚcontroller_classÚcacheable_methodszhttp://zhttps://)r   r   Úmount)	ÚsessÚcacher   r   r   r   Úadapter_classr   Úadapter© r   úY/home/sam/Atlas/atlas_env/lib/python3.8/site-packages/pip/_vendor/cachecontrol/wrapper.pyÚCacheControl	   s    úr   )NTNNNNN)r   r   r   r   r   r   r   r   r   Ú<module>   s          ø