Hacked By AnonymousFox
�
��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&