\e[c@sddlZddlmZddlmZddlmZddlmZddl m Z dZ dZ d Z dd Zed krendS( iN(trequests(tCacheControlAdapter(t DictCache(tlogger(tArgumentParsercCs-tjtjtj}tj|dS(N(RtsetLeveltloggingtDEBUGt StreamHandlert addHandler(thandler((s</tmp/pip-install-0xiv62/pip/pip/_vendor/cachecontrol/_cmd.pyt setup_logging s cCs]ttdtdddd}tj}|jd||jd||j|_|S(Nt cache_etagst serializert heuristicshttp://shttps://( RRtTruetNoneRtSessiontmountt controllertcache_controller(tadaptertsess((s</tmp/pip-install-0xiv62/pip/pip/_vendor/cachecontrol/_cmd.pyt get_sessions  cCs&t}|jddd|jS(NturlthelpsThe URL to try and cache(Rt add_argumentt parse_args(tparser((s</tmp/pip-install-0xiv62/pip/pip/_vendor/cachecontrol/_cmd.pytget_argss cCsjt}t}|j|j}t|jj|j|j|jj |jradGHndGHdS(NsCached!s Not cached :(( RRtgetRR Rtcache_responsetrequesttrawtcached_request(targsRtresp((s</tmp/pip-install-0xiv62/pip/pip/_vendor/cachecontrol/_cmd.pytmain$s  t__main__(Rt pip._vendorRt pip._vendor.cachecontrol.adapterRtpip._vendor.cachecontrol.cacheRt#pip._vendor.cachecontrol.controllerRtargparseRR RRRR%t__name__(((s</tmp/pip-install-0xiv62/pip/pip/_vendor/cachecontrol/_cmd.pyts