/opt/cloudlinux/venv/lib/python3.11/site-packages/requests/__pycache__
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/requests/__pycache__/auth.cpython-311.pyc (14639B)
§
ú÷@’�êcã óú — d Z ddlZddlZddlZddlZddlZddlZddlmZ ddl m
Z
ddlmZm
Z
mZ ddlmZ ddlmZ d Zd
Zd„ Z G d„ d
¦ « Z G d„ de¦ « Z G d„ de¦ « Z G d„ de¦ « ZdS )z]
requests.auth
~~~~~~~~~~~~~
This module contains the authentication handlers for Requests.
é N)Ú b64encodeé )Úto_native_string)Ú
basestringÚstrÚurlparse)Úextract_cookies_to_jar)Úparse_dict_headerz!application/x-www-form-urlencodedzmultipart/form-datac óœ — t | t ¦ « s=t j d | ¦ « t
¬¦ « t
| ¦ « } t |t ¦ « sJt j d t |¦ « ¦ « t
¬¦ « t
|¦ « }t | t ¦ « r| d¦ « } t |t ¦ « r| d¦ « }dt t d | |f¦ « ¦ « ¦ « ¦ « z }|S )zReturns a Basic Auth string.z·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.)Úcategoryz·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.Úlatin1zBasic ó :)
Ú
isinstancer ÚwarningsÚwarnÚformatÚDeprecationWarningr ÚtypeÚencoder r ÚjoinÚstrip)ÚusernameÚpasswordÚauthstrs ú_/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/requests/auth.pyÚ_basic_auth_strr s6 € õ �h¥
Ñ+Ô+ð !ÝŒ
ð
÷ š˜xÑ(Ô(Ý'ð
ñ
ô
ð
õ �x‘=”=ˆå�h¥
Ñ+Ô+ð !ÝŒ
ð
÷ š�t H™~œ~Ñ.Ô.Ý'ð
ñ
ô
ð
õ �x‘=”=ˆõ �(�CÑ Ô ð -Ø—?’? 8Ñ,Ô,ˆå�(�CÑ Ô ð -Ø—?’? 8Ñ,Ô,ˆàÕ)Ý�$—)’)˜X xÐ0Ñ1Ô1Ñ2Ô2×8Ò8Ñ:Ô:ñô ñ €Gð €Nó c ó — e Zd ZdZd„ ZdS )ÚAuthBasez4Base class that all auth implementations derive fromc ó — t d¦ « ‚)NzAuth hooks must be callable.)ÚNotImplementedError©ÚselfÚrs r Ú__call__zAuthBase.__call__H s € Ý!Ð"@ÑAÔAÐAr N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__r% © r r r r E s. € € € € € Ø>Ð>ðBð Bð Bð Bð Br r c ó* — e Zd ZdZd„ Zd„ Zd„ Zd„ ZdS )Ú
HTTPBasicAuthz?Attaches HTTP Basic Authentication to the given Request object.c ó" — || _ || _ d S ©N)r r ©r# r r s r Ú__init__zHTTPBasicAuth.__init__O s € Ø ˆŒ
Ø ˆŒ
ˆ
ˆ
r c ó„ — t | j t |dd ¦ « k | j t |dd ¦ « k g¦ « S ©Nr r ©Úallr Úgetattrr ©r# Úothers r Ú__eq__zHTTPBasicAuth.__eq__S óE € Ýà”
¥¨°
¸DÑ!AÔ!AÒAØ”
¥¨°
¸DÑ!AÔ!AÒAð
ñ
ô
ð
r c ó — | |k S r/ r+ r7 s r Ú__ne__zHTTPBasicAuth.__ne__[ ó € Ø˜5’=Ð Ð r c óJ — t | j | j ¦ « |j d<