ok
Direktori : /proc/thread-self/root/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/requests/ |
Current File : //proc/thread-self/root/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/requests/auth.pyc |
� �Rec @ 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 � sz t j d j t | � � 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 ({!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 ({!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 typet encodeR R t joint strip( t usernamet passwordt authstr( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/requests/auth.pyt _basic_auth_str s&