ó •abc @ s d Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m Z m Z m Z d d l m Z d d l m Z d d l m Z d Z d Z d „ Z d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d S( s] requests.auth ~~~~~~~~~~~~~ This module contains the authentication handlers for Requests. iÿÿÿÿN( t b64encodei ( t urlparset strt basestring( t extract_cookies_to_jar( t to_native_string( t parse_dict_headers! application/x-www-form-urlencodeds multipart/form-datac C så t | t ƒ s: t j d j | ƒ d t ƒt | ƒ } n t | t ƒ st t j d j | ƒ d t ƒt | ƒ } n t | t ƒ r• | j d ƒ } n t | t ƒ r¶ | j d ƒ } n d t t d j | | f ƒ ƒ j ƒ ƒ } | S( s Returns a Basic Auth string.s¸ Non-string usernames will no longer be supported in Requests 3.0.0. Please convert the object you've passed in ({0!r}) to a string or bytes object in the near future to avoid problems.t categorys¸ Non-string passwords will no longer be supported in Requests 3.0.0. Please convert the object you've passed in ({0!r}) to a string or bytes object in the near future to avoid problems.t latin1s Basic t :( t isinstanceR t warningst warnt formatt DeprecationWarningR t encodeR R t joint strip( t usernamet passwordt authstr( ( s= /usr/lib/python2.7/site-packages/pip/_vendor/requests/auth.pyt _basic_auth_str s&