/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/network
Edit: /opt/alt/python37/lib/python3.7/site-packages/pip/_internal/network/utils.pyo (1807B)
Ńň
jRec @ s} d d k l Z l Z d d k l Z d d k l Z e o d d k l Z l Z n h d d 6Z
d Z e d Z d S(
i˙˙˙˙( t CONTENT_CHUNK_SIZEt Response( t NetworkConnectionError( t MYPY_CHECK_RUNNING( t Dictt Iteratort identitys Accept-Encodingc C s d } t | i t oB y | i i d } Wqd t j
o | i i d } qd Xn
| i } d | i j o
d j n o d | i | | i f } n? d | i j o
d j n o d | i | | i f } n | o t | d | n d S(
Nu s utf-8s
iso-8859-1i iô u %s Client Error: %s for url: %siX u %s Server Error: %s for url: %st response( t
isinstancet reasont bytest decodet UnicodeDecodeErrort status_codet urlR ( t respt http_error_msgR ( ( sL /opt/alt/python37/lib/python3.7/site-packages/pip/_internal/network/utils.pyt raise_for_status s !!c c sx y, x% | i i | d t D] } | Vq WWnE t j
o9 x4 t o' | i i | } | p Pn | Vq@ Wn Xd S( s8 Given a requests Response, provide the data chunks.
t decode_contentN( t rawt streamt Falset AttributeErrort Truet read( R t
chunk_sizet chunk( ( sL /opt/alt/python37/lib/python3.7/site-packages/pip/_internal/network/utils.pyt response_chunks: s
N(
t pip._vendor.requests.modelsR R t pip._internal.exceptionsR t pip._internal.utils.typingR t typingR R t HEADERSR R ( ( ( sL /opt/alt/python37/lib/python3.7/site-packages/pip/_internal/network/utils.pyt
s