ÿØÿà JFIF      ÿÛ „ 	 ( %!1!%)+//.383,7(-.+



-%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ               ÿÄ J  	     ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ              ÿÄ *        !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú
"SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5
ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍÑ¶¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e
ríV
..............................................................................................................................................................................
.............................................................................                                                  
                                                                                                                                                                                     ÿØÿà JFIF      ÿÛ „ 	 ( %!1!%)+//.383,7(-.+



-%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ               ÿÄ J  	     ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ              ÿÄ *        !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú
"SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5
ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍÑ¶¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e
ríV
..............................................................................................................................................................................
.............................................................................                                                  
                                                                                                                                                                                     
abc           @@  s   d  d l  m Z d  d l m Z d d l m Z m Z d d l m Z d Z	 e
   Z d
 d
 d
 d
 d
 d
 d  Z d   Z d	   Z d
 S(   i    (   t   absolute_import(   t	   b64encodei   (   t   bt   integer_types(   t   UnrewindableBodyErrors   gzip,deflatec         C@  s   i  } | rR t  | t  r n' t  | t  r? d j |  } n t } | | d <n  | re | | d <n  |  rx d | d <n  | r d t t |   j d  | d <n  | r d t t |   j d  | d	 <n  | r d
 | d <n  | S(   s  
    Shortcuts for generating request headers.

    :param keep_alive:
        If ``True``, adds 'connection: keep-alive' header.

    :param accept_encoding:
        Can be a boolean, list, or string.
        ``True`` translates to 'gzip,deflate'.
        List will get joined by comma.
        String will be used as provided.

    :param user_agent:
        String representing the user-agent you want, such as
        "python-urllib3/0.6"

    :param basic_auth:
        Colon-separated username:password string for 'authorization: basic ...'
        auth header.

    :param proxy_basic_auth:
        Colon-separated username:password string for 'proxy-authorization: basic ...'
        auth header.

    :param disable_cache:
        If ``True``, adds 'cache-control: no-cache' header.

    Example::

        >>> make_headers(keep_alive=True, user_agent="Batman/1.0")
        {'connection': 'keep-alive', 'user-agent': 'Batman/1.0'}
        >>> make_headers(accept_encoding=True)
        {'accept-encoding': 'gzip,deflate'}
    t   ,s   accept-encodings
   user-agents
   keep-alivet
   connections   Basic s   utf-8t   authorizations   proxy-authorizations   no-caches   cache-control(   t
   isinstancet   strt   listt   joint   ACCEPT_ENCODINGR   R   t   decode(   t
   keep_alivet   accept_encodingt
   user_agentt
   basic_autht   proxy_basic_autht   disable_cachet   headers(    (    sD   /usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/request.pyt   make_headers   s*    $##c         C@  sk   | d k	 r t |  |  nK t |  d d  d k	 rg y |  j   } Wqg t t f k
 rc t } qg Xn  | S(   s   
    If a position is provided, move file to that point.
    Otherwise, we'll attempt to record a position for future use.
    t   tellN(   t   Nonet   rewind_bodyt   getattrR   t   IOErrort   OSErrort   _FAILEDTELL(   t   bodyt   pos(    (    sD   /usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/request.pyt   set_file_positionM   s    c         C@  s   t  |  d d  } | d k	 rd t | t  rd y | |  Wq t t f k
 r` t d   q Xn1 | t k r t d   n t d t	 |    d S(   s   
    Attempt to rewind body to a certain position.
    Primarily used for request redirects and retries.

    :param body:
        File-like object that supports seek.

    :param int pos:
        Position to seek to in file.
    t   seeksA   An error occurred when rewinding request body for redirect/retry.sR   Unable to record file position for rewinding request body during a redirect/retry.s4   body_pos must be of type integer, instead it was %s.N(
   R   R   R   R   R   R   R   R   t
   ValueErrort   type(   R   t   body_post	   body_seek(    (    sD   /usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/request.pyR   _   s    N(   t
   __future__R    t   base64R   t   packages.sixR   R   t
   exceptionsR   R   t   objectR   R   R   R   R   (    (    (    sD   /usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/request.pyt   <module>   s   		A	