/usr/local/lib/python3.6/site-packages/requests/__pycache__
Edit: /usr/local/lib/python3.6/site-packages/requests/__pycache__/auth.cpython-36.pyc (8302B)
3
Eg' @ s d Z ddlZddlZddlZddlZddlZddlZddlmZ ddl m
Z
mZmZ ddl
mZ ddlmZ ddlmZ d Zd
Zdd ZG d
d deZG dd deZG dd deZG dd deZdS )z]
requests.auth
~~~~~~~~~~~~~
This module contains the authentication handlers for Requests.
N) b64encode )urlparsestr
basestring)extract_cookies_to_jar)to_native_string)parse_dict_headerz!application/x-www-form-urlencodedzmultipart/form-datac C s t | ts&tjdj| td t| } t |tsPtjdjt|td t|}t | trd| jd} t |trx|jd}dt t
dj| |fj }|S )zReturns a Basic Auth string.zNon-string usernames will no longer be supported in Requests 3.0.0. Please convert the object you've passed in ({!r}) to a string or bytes object in the near future to avoid problems.)categoryzNon-string passwords will no longer be supported in Requests 3.0.0. Please convert the object you've passed in ({!r}) to a string or bytes object in the near future to avoid problems.latin1zBasic :)
isinstancer warningswarnformatDeprecationWarningr typeencoder r joinstrip)usernamepasswordauthstr r 7/usr/local/lib/python3.6/site-packages/requests/auth.py_basic_auth_str s&