OXIESEC PANEL
- Current Dir:
/
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
requests
/
__pycache__
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/14/2024 03:09:54 PM
rwxr-xr-x
📄
__init__.cpython-37.pyc
3.75 KB
11/14/2023 02:30:13 PM
rw-r--r--
📄
__version__.cpython-37.pyc
516 bytes
11/14/2023 02:30:13 PM
rw-r--r--
📄
_internal_utils.cpython-37.pyc
1.24 KB
11/14/2023 02:30:13 PM
rw-r--r--
📄
adapters.cpython-37.pyc
16.38 KB
11/14/2023 02:30:13 PM
rw-r--r--
📄
api.cpython-37.pyc
6.49 KB
11/14/2023 02:30:13 PM
rw-r--r--
📄
auth.cpython-37.pyc
8.12 KB
11/14/2023 02:30:13 PM
rw-r--r--
📄
certs.cpython-37.pyc
814 bytes
11/14/2023 02:30:13 PM
rw-r--r--
📄
compat.cpython-37.pyc
1.64 KB
11/14/2023 02:30:13 PM
rw-r--r--
📄
cookies.cpython-37.pyc
18.31 KB
11/14/2023 02:30:13 PM
rw-r--r--
📄
exceptions.cpython-37.pyc
5.49 KB
11/14/2023 02:30:13 PM
rw-r--r--
📄
help.cpython-37.pyc
2.74 KB
11/14/2023 02:30:13 PM
rw-r--r--
📄
hooks.cpython-37.pyc
941 bytes
11/14/2023 02:30:13 PM
rw-r--r--
📄
models.cpython-37.pyc
24.04 KB
11/14/2023 02:30:13 PM
rw-r--r--
📄
packages.cpython-37.pyc
672 bytes
11/14/2023 02:30:13 PM
rw-r--r--
📄
sessions.cpython-37.pyc
19.32 KB
11/14/2023 02:30:13 PM
rw-r--r--
📄
status_codes.cpython-37.pyc
4.09 KB
11/14/2023 02:30:13 PM
rw-r--r--
📄
structures.cpython-37.pyc
4.27 KB
11/14/2023 02:30:13 PM
rw-r--r--
📄
utils.cpython-37.pyc
22.51 KB
11/14/2023 02:30:13 PM
rw-r--r--
Editing: auth.cpython-37.pyc
Close
B ;Ytv (:� @ s� d Z ddlZddlZddlZddlZddlZddlZddlmZ ddl m Z mZmZ ddl mZ ddlmZ ddlmZ d Zd Zdd� ZG d d� de�ZG dd� de�ZG dd� de�ZG dd� de�ZdS )z] requests.auth ~~~~~~~~~~~~~ This module contains the authentication handlers for Requests. � N)� b64encode� )�urlparse�str� basestring)�extract_cookies_to_jar)�to_native_string)�parse_dict_headerz!application/x-www-form-urlencodedzmultipart/form-datac C s� t | t�s&tjd�| �td� t| �} t |t�sPtjd�t|��td� t|�}t | t�rd| �d�} t |t�rx|�d�}dt t d�| |f���� � }|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�passwordZauthstr� r �>/opt/alt/python37/lib/python3.7/site-packages/requests/auth.py�_basic_auth_str s&