Linux jobworks 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:53:05 UTC 2026 x86_64
Apache/2.4.58 (Ubuntu)
Server IP : 10.0.1.5 & Your IP : 216.73.217.52
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3 /
dist-packages /
requests /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2025-08-05 17:02
__init__.py
4.74
KB
-rw-r--r--
2025-06-12 01:19
__version__.py
435
B
-rw-r--r--
2023-05-22 15:10
_internal_utils.py
1.46
KB
-rw-r--r--
2023-05-22 15:10
adapters.py
19.09
KB
-rw-r--r--
2023-05-22 15:10
api.py
6.3
KB
-rw-r--r--
2023-05-22 15:10
auth.py
9.95
KB
-rw-r--r--
2023-05-22 15:10
certs.py
429
B
-rw-r--r--
2023-05-22 15:10
compat.py
1.35
KB
-rw-r--r--
2025-06-12 01:19
cookies.py
18.13
KB
-rw-r--r--
2023-05-22 15:10
exceptions.py
3.72
KB
-rw-r--r--
2023-05-22 15:10
help.py
3.72
KB
-rw-r--r--
2025-06-12 01:19
hooks.py
733
B
-rw-r--r--
2023-05-22 15:10
models.py
34.4
KB
-rw-r--r--
2023-05-22 15:10
packages.py
777
B
-rw-r--r--
2025-06-12 01:19
sessions.py
29.66
KB
-rw-r--r--
2023-05-22 15:10
status_codes.py
4.14
KB
-rw-r--r--
2023-05-22 15:10
structures.py
2.84
KB
-rw-r--r--
2023-05-22 15:10
utils.py
32.4
KB
-rw-r--r--
2025-06-12 01:19
Save
Rename
""" requests._internal_utils ~~~~~~~~~~~~~~ Provides utility functions that are consumed internally by Requests which depend on extremely few external helpers (such as compat) """ import re from .compat import builtin_str _VALID_HEADER_NAME_RE_BYTE = re.compile(rb"^[^:\s][^:\r\n]*$") _VALID_HEADER_NAME_RE_STR = re.compile(r"^[^:\s][^:\r\n]*$") _VALID_HEADER_VALUE_RE_BYTE = re.compile(rb"^\S[^\r\n]*$|^$") _VALID_HEADER_VALUE_RE_STR = re.compile(r"^\S[^\r\n]*$|^$") _HEADER_VALIDATORS_STR = (_VALID_HEADER_NAME_RE_STR, _VALID_HEADER_VALUE_RE_STR) _HEADER_VALIDATORS_BYTE = (_VALID_HEADER_NAME_RE_BYTE, _VALID_HEADER_VALUE_RE_BYTE) HEADER_VALIDATORS = { bytes: _HEADER_VALIDATORS_BYTE, str: _HEADER_VALIDATORS_STR, } def to_native_string(string, encoding="ascii"): """Given a string object, regardless of type, returns a representation of that string in the native string type, encoding and decoding where necessary. This assumes ASCII unless told otherwise. """ if isinstance(string, builtin_str): out = string else: out = string.decode(encoding) return out def unicode_is_ascii(u_string): """Determine if unicode string only contains ASCII characters. :param str u_string: unicode string to check. Must be unicode and not Python 2 `str`. :rtype: bool """ assert isinstance(u_string, str) try: u_string.encode("ascii") return True except UnicodeEncodeError: return False