⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
botocore
/
__pycache__
/
View File Name :
useragent.cpython-312.pyc
PeG d Z ddlZddlZddlmZ ddlmZmZ ddlmZm Z ddl mZ ddl mZ eez dz Zd Zd diZdZd Z G d de Z G d d Z ddlmZ G d d Zd Zy# e$ r d ZY w xY w)a NOTE: All classes and functions in this module are considered private and are subject to abrupt breaking changes. Please do not use them directly. To modify the User-Agent header sent by botocore, use one of these configuration options: * The ``AWS_SDK_UA_APP_ID`` environment variable. * The ``sdk_ua_app_id`` setting in the shared AWS config file. * The ``user_agent_appid`` field in the :py:class:`botocore.config.Config`. * The ``user_agent_extra`` field in the :py:class:`botocore.config.Config`. N)copy) ascii_lettersdigits) NamedTupleOptional)__version__)HAS_CRTz!$%&'*+-.^_`|~)windowslinuxmacosandroidioswatchostvosotherdarwinr Botocorec 8 dj fd| D S )a} Replaces all not allowed characters in the string with a dash ("-"). Allowed characters are ASCII alphanumerics and ``!$%&'*+-.^_`|~``. If ``allow_hash`` is ``True``, "#"``" is also allowed. :type raw_str: str :param raw_str: The input string to be sanitized. :type allow_hash: bool :param allow_hash: Whether "#" is considered an allowed character. c 3 D K | ] }|t v sr|d k( r|nd yw)#-N)_USERAGENT_ALLOWED_CHARACTERS).0c allow_hashs 4/usr/lib/python3/dist-packages/botocore/useragent.py
z7sanitize_user_agent_string_component.
.
A s8 A --*c s )join)raw_strr s `r $sanitize_user_agent_string_componentr! 5 s% 77 c @ e Zd ZU dZeed<