ó ā\e[c@s˜ddlZddlZddlZddlZddlmZddlmZddlm Z m Z m Z d„Z d„Z defd „ƒYZdS( i’’’’N(tmsgpack(tCaseInsensitiveDicti(t HTTPResponsetpicklet text_typecCstj|jdƒƒS(Ntascii(tbase64t b64decodetencode(tb((sA/tmp/pip-install-0xiv62/pip/pip/_vendor/cachecontrol/serialize.pyt_b64_decode_bytes scCst|ƒjdƒS(Ntutf8(R tdecode(ts((sA/tmp/pip-install-0xiv62/pip/pip/_vendor/cachecontrol/serialize.pyt_b64_decode_strst SerializercBsSeZdd„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z RS( c Cs]t|jƒ}|dkrB|jdtƒ}tj|ƒ|_nii|d6td„|jj ƒDƒƒd6|j d6|j d6t |j ƒd6|jd6|jd 6d 6}i|d 3suheadersustatusuversionureasonustrictudecode_contenturesponseuvaryt,scc=4t use_bin_type(RtheaderstNonetreadtFalsetiotBytesIOt_fptdicttitemststatustversionRtreasontstrictRtsplittstriptgettjoinRtdumpstTrue( tselftrequesttresponsetbodytresponse_headerstdatatvaried_headerstheadert header_value((sA/tmp/pip-install-0xiv62/pip/pip/_vendor/cachecontrol/serialize.pyR's0          cCs¾|s dSy|jddƒ\}}Wntk r?d}nX|d dkrc||}d}n|jddƒdjdƒ}y#t|d j|ƒƒ||ƒSWntk r¹dSXdS( NRiscc=0iscc=t=i’’’’Rs _loads_v{}(R#t ValueErrorR tgetattrtformattAttributeError(R)R*R.tver((sA/tmp/pip-install-0xiv62/pip/pip/_vendor/cachecontrol/serialize.pytloadsJs    # cCsd|jdiƒkrdSxE|jdiƒjƒD]+\}}|jj|dƒ|kr5dSq5W|djdƒ}td|ddƒ}|jdd ƒd kr¶|jdƒn||dd£sRR!css?|]5\}}t|ƒ|dk r0t|ƒn|fVqdS(N(RR(RRR((sA/tmp/pip-install-0xiv62/pip/pip/_vendor/cachecontrol/serialize.pys ØsR:( tjsonR8tzlibt decompressR R3terrorR RRRRC(R)R*R.R@((sA/tmp/pip-install-0xiv62/pip/pip/_vendor/cachecontrol/serialize.pyt _loads_v2šs%#cCsdS(N((R)R*R.((sA/tmp/pip-install-0xiv62/pip/pip/_vendor/cachecontrol/serialize.pyt _loads_v3®scCs>ytj|ddƒ}Wntk r-dSX|j||ƒS(Ntencodingsutf-8(RR8R3RC(R)R*R.R@((sA/tmp/pip-install-0xiv62/pip/pip/_vendor/cachecontrol/serialize.pyt _loads_v4“s  N( t__name__t __module__RR'R8RCRDRERJRKRM(((sA/tmp/pip-install-0xiv62/pip/pip/_vendor/cachecontrol/serialize.pyRs 4  $    (RRRFRGt pip._vendorRtpip._vendor.requests.structuresRtcompatRRRR RtobjectR(((sA/tmp/pip-install-0xiv62/pip/pip/_vendor/cachecontrol/serialize.pyts