<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
σ
οRec           @@  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(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/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"   expected httplib.Message, got {0}.t   defectst   get_payloadt   unparsed_dataN(   t
   isinstancet   httplibt   HTTPMessaget	   TypeErrort   formatt   typet   getattrR   t   is_multipartt   bytest   strR   (   t   headersR   R   R   t   payload(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/response.pyt   assert_header_parsing&   s    	c         C@  s2   |  j  } t | t  r" | d k S| j   d k S(   s°   
    Checks whether the request of a response has been a HEAD-request.
    Handles the quirks of AppEngine.

    :param conn:
    :type conn: :class:`httplib.HTTPResponse`
    i   t   HEAD(   t   _methodR   t   intt   upper(   t   responset   method(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/response.pyt   is_response_to_headJ   s    		
N(
   t
   __future__R    t   packages.six.movesR   R   t
   exceptionsR   R
   R   R!   (    (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/response.pyt   <module>   s
   		$