Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
python35
/
lib
/
python3.5
/
site-packages
/
requests
/
__pycache__
/
File Content:
auth.cpython-35.pyc
��#W� � @ 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 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 d � Z Gd d � d e � Z Gd d � d e � Z Gd d � d e � Z Gd d � d e � Z d S)z] requests.auth ~~~~~~~~~~~~~ This module contains the authentication handlers for Requests. � N)� b64encode� )�urlparse�str)�extract_cookies_to_jar)�parse_dict_header�to_native_string)�codesz!application/x-www-form-urlencodedzmultipart/form-datac C s3 d t t d | | f j d � � j � � } | S)zReturns a Basic Auth string.zBasic z%s:%s�latin1)r r �encode�strip)�username�passwordZauthstr� r �/auth.py�_basic_auth_str s )r c @ s"