ok
Direktori : /proc/self/root/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/urllib3/util/ |
Current File : //proc/self/root/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/urllib3/util/response.pyo |
� Bu�_c @@ sO d d l m Z d d l m Z d d l m Z d � Z d � Z d � Z d S( i ( t absolute_importi ( t http_client( t HeaderParsingErrorc C@ sv y | j � SWn t k r! n Xy | j SWn t k r@ n Xy | j d k SWn t k re n Xt d � � d S( st Checks whether a given file-like object is closed. :param obj: The file-like object to check. s) Unable to determine whether fp is closed.N( t isclosedt AttributeErrort closedt fpt Nonet ValueError( t obj( ( sR /opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/urllib3/util/response.pyt is_fp_closed s c C@ s� t | t j � s0 t d j t | � � � � n t | d d � } t | d d � } d } | r� | j � s� | � } t | t t f � r� | } q� q� n | s� | r� t d | d | � � n d S( sP Asserts whether all headers have been successfully parsed. Extracts encountered errors from the result of parsing headers. Only works on Python 3. :param headers: Headers to verify. :type headers: `httplib.HTTPMessage`. :raises urllib3.exceptions.HeaderParsingError: If parsing errors are found. s"