SILENT KILLERPanel

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 ]

Files and Folders in: //opt/alt/python27/lib//python2.7/site-packages/pip/_vendor//cachecontrol

NameTypeSizeLast ModifiedActions
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.

Reading File: //opt/alt/python27/lib//python2.7/site-packages/pip/_vendor//cachecontrol/heuristics.pyc

�
�Rec@s�ddlZddlZddlmZmZmZddlmZmZdZdd�Z
d�Zdefd��YZ
d	e
fd
��YZde
fd��YZd
e
fd��YZdS(i����N(t
formatdatet	parsedatetparsedate_tz(tdatetimet	timedeltas%a, %d %b %Y %H:%M:%S GMTcCs|ptj�}||S(N(Rtutcnow(tdeltatdate((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/heuristics.pytexpire_afterscCsttj|j���S(N(Rtcalendarttimegmt	timetuple(tdt((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/heuristics.pytdatetime_to_headerst
BaseHeuristiccBs#eZd�Zd�Zd�ZRS(cCsdS(s!
        Return a valid 1xx warning header value describing the cache
        adjustments.

        The response is provided too allow warnings like 113
        http://tools.ietf.org/html/rfc7234#section-5.5.4 where we need
        to explicitly say response is over 24 hours old.
        s110 - "Response is Stale"((tselftresponse((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/heuristics.pytwarnings	cCsiS(s�Update the response headers with any new headers.

        NOTE: This SHOULD always include some Warning header to
              signify that the response was cached by the client, not
              by way of the provided headers.
        ((RR((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/heuristics.pytupdate_headers!scCsa|j|�}|r]|jj|�|j|�}|dk	r]|jji|d6�q]n|S(NtWarning(RtheaderstupdateRtNone(RRtupdated_headerstwarning_header_value((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/heuristics.pytapply*s(t__name__t
__module__RRR(((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/heuristics.pyRs			tOneDayCachecBseZdZd�ZRS(sM
    Cache the response by providing an expires 1 day in the
    future.
    cCsni}d|jkrjt|jd�}ttdd�dt|d ��}t|�|d<d|d<n|S(NtexpiresRtdaysiitpublics
cache-control(RRRRRR
(RRRRR((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/heuristics.pyR<s%
(RRt__doc__R(((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/heuristics.pyR6stExpiresAftercBs)eZdZd�Zd�Zd�ZRS(s;
    Cache **all** requests for a defined time period.
    cKst|�|_dS(N(RR(Rtkw((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/heuristics.pyt__init__LscCs't|j�}it|�d6dd6S(NRRs
cache-control(RRR
(RRR((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/heuristics.pyROscCsd}||jS(Ns:110 - Automatically cached for %s. Response might be stale(R(RRttmpl((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/heuristics.pyRSs(RRR R#RR(((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/heuristics.pyR!Gs		tLastModifiedcBsGeZdZddddddddd	d
dhZd�Zd
�ZRS(s�
    If there is no Expires header already, fall back on Last-Modified
    using the heuristic from
    http://tools.ietf.org/html/rfc7234#section-4.2.2
    to calculate a reasonable value.

    Firefox also does something like this per
    https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching_FAQ
    http://lxr.mozilla.org/mozilla-release/source/netwerk/protocol/http/nsHttpResponseHead.cpp#397
    Unlike mozilla we limit this to 24-hr.
    i�i�i�i�i,i-i�i�i�i�i�c
Cs8|j}d|kriSd|kr9|ddkr9iS|j|jkrOiSd|ksgd|krkiStjt|d��}t|d�}|dks�|dkr�iStj�}t	d||�}|tj|�}t	dt
|dd
��}||kriS||}	itjttj
|	��d6S(NRs
cache-controlRRs
last-modifiedii
iii�Q(Rtstatustcacheable_by_default_statusesR	R
RRRttimetmaxtmintstrftimetTIME_FMTtgmtime(
RtrespRRt
last_modifiedtnowtcurrent_ageRtfreshness_lifetimeR((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/heuristics.pyRhs*	
cCsdS(N(R(RR.((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/heuristics.pyR�s(RRR R'RR(((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/heuristics.pyR%Xs'	(R	R(temail.utilsRRRRRR,RRR
tobjectRRR!R%(((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/heuristics.pyt<module>s	"

SILENT KILLER Tool