Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
usr
/
lib
/
python2.7
/
site-packages
/
botocore
/
vendored
/
requests
/
File Content:
auth.pyc
� ?��Xc @ s d 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 d d l m Z d d l m Z 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 str( t extract_cookies_to_jar( t parse_dict_headert to_native_string( t codess! application/x-www-form-urlencodeds multipart/form-datac C s3 d t t d | | f j d � � j � � } | S( s Returns a Basic Auth string.s Basic s %s:%st latin1( R R t encodet strip( t usernamet passwordt authstr( ( sA /tmp/pip-build-uEGWVr/botocore/botocore/vendored/requests/auth.pyt _basic_auth_str s )t AuthBasec B s e Z d Z d � Z RS( s4 Base class that all auth implementations derive fromc C s t d � � d S( Ns Auth hooks must be callable.( t NotImplementedError( t selft r( ( sA /tmp/pip-build-uEGWVr/botocore/botocore/vendored/requests/auth.pyt __call__'