Current Path: > > opt > alt > python27 > lib > > python2.7 > site-packages > pip > _vendor > > cachecontrol
Operation : Linux premium131.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 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
caches | Directory | - | - | |
__init__.py | File | 302 bytes | November 13 2023 21:11:11. | |
__init__.pyc | File | 658 bytes | November 13 2023 21:11:11. | |
_cmd.py | File | 1295 bytes | November 13 2023 21:11:11. | |
_cmd.pyc | File | 2428 bytes | November 13 2023 21:11:11. | |
adapter.py | File | 4882 bytes | November 13 2023 21:11:11. | |
adapter.pyc | File | 4255 bytes | November 13 2023 21:11:11. | |
cache.py | File | 805 bytes | November 13 2023 21:11:11. | |
cache.pyc | File | 3231 bytes | November 13 2023 21:11:11. | |
compat.py | File | 695 bytes | November 13 2023 21:11:11. | |
compat.pyc | File | 877 bytes | November 13 2023 21:11:11. | |
controller.py | File | 14149 bytes | November 13 2023 21:11:11. | |
controller.pyc | File | 10575 bytes | November 13 2023 21:11:11. | |
filewrapper.py | File | 2533 bytes | November 13 2023 21:11:11. | |
filewrapper.pyc | File | 3267 bytes | November 13 2023 21:11:11. | |
heuristics.py | File | 4070 bytes | November 13 2023 21:11:11. | |
heuristics.pyc | File | 7121 bytes | November 13 2023 21:11:11. | |
serialize.py | File | 7091 bytes | November 13 2023 21:11:11. | |
serialize.pyc | File | 6821 bytes | November 13 2023 21:11:11. | |
wrapper.py | File | 690 bytes | November 13 2023 21:11:11. | |
wrapper.pyc | File | 979 bytes | November 13 2023 21:11:11. |
� �Rec @ s~ d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z d e f d � � YZ d S( i����N( t HTTPAdapteri ( t CacheController( t DictCache( t CallbackFileWrappert CacheControlAdapterc B sS e Z d d h Z d e d d d d d � Z d d � Z e d d � Z d � Z RS( t PUTt DELETEc O s} t t | � j | | � | d k r. t � n | | _ | | _ | pI d | _ | pX t } | | j d | d | �| _ d S( Nt GETt cache_etagst serializer( R ( t superR t __init__t NoneR t cachet heuristict cacheable_methodsR t controller( t selfR R t controller_classR R R t argst kwt controller_factory( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/cachecontrol/adapter.pyR s c K s� | p | j } | j | k r� y | j j | � } Wn t j k rP d } n X| rm | j | | d t �S| j j | j j | � � n t t | � j | | � } | S( s� Send a request. Use the request information to see if it exists in the cache and cache the response if we need to and can. t from_cacheN( R t methodR t cached_requestt zlibt errorR t build_responset Truet headerst updatet conditional_headersR R t send( R t requestR R t cacheablet cached_responset resp( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/cachecontrol/adapter.pyR $ s c s� | p | j } | r*| j | k r*| j rC | j j | � } n | j d k r� | j j | | � } | | k r| t } n | j d t � | j � | } q*| j d k r� | j j | | � q*t | j t j | j j | | � � | _ | j r*| j � � f d � } t j | | � | _ q*n t t | � j | | � } | j | j k r�| j r�| j j | j � } | j j | � n | | _ | S( s� Build a response by making a request or using the cache. This will end up calling send and returning a potentially cached response i0 t decode_contenti- c s* � � | j d k r&