/usr/lib/python2.7/site-packages/pip/_vendor/cachecontrol
NameSizeModeActions
caches/-0755rm
adapter.py46080644editdlrm
adapter.pyc35230644editdlrm
adapter.pyo35230644editdlrm
cache.py7900644editdlrm
cache.pyc24010644editdlrm
cache.pyo24010644editdlrm
compat.py3800644editdlrm
compat.pyc6180644editdlrm
compat.pyo6180644editdlrm
controller.py130240644editdlrm
controller.pyc90780644editdlrm
controller.pyo90780644editdlrm
filewrapper.py25310644editdlrm
filewrapper.pyc26670644editdlrm
filewrapper.pyo26670644editdlrm
heuristics.py41410644editdlrm
heuristics.pyc59370644editdlrm
heuristics.pyo59370644editdlrm
serialize.py65360644editdlrm
serialize.pyc60960644editdlrm
serialize.pyo60960644editdlrm
wrapper.py4980644editdlrm
wrapper.pyc6960644editdlrm
wrapper.pyo6960644editdlrm
_cmd.py13200644editdlrm
_cmd.pyc20590644editdlrm
_cmd.pyo20590644editdlrm
__init__.py3020644editdlrm
__init__.pyc5830644editdlrm
__init__.pyo5830644editdlrm
Edit: /usr/lib/python2.7/site-packages/pip/_vendor/cachecontrol/heuristics.pyo (5937B)
ó •abc@sÁddlZddlZddlmZmZmZddlmZmZdZdd„Z d„Z de fd„ƒYZ d e fd „ƒYZd e 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(Rtnow(tdeltatdate((sG/usr/lib/python2.7/site-packages/pip/_vendor/cachecontrol/heuristics.pyt expire_after scCsttj|jƒƒƒS(N(Rtcalendarttimegmt timetuple(tdt((sG/usr/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((sG/usr/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((sG/usr/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((sG/usr/lib/python2.7/site-packages/pip/_vendor/cachecontrol/heuristics.pytapply*s (t__name__t __module__RRR(((sG/usr/lib/python2.7/site-packages/pip/_vendor/cachecontrol/heuristics.pyRs t OneDayCachecBseZdZd„ZRS(sM Cache the response by providing an expires 1 day in the future. cCsni}d|jkrjt|jdƒ}ttddƒdt|d Œƒ}t|ƒ|ds    "