⚝
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
/
urllib3
/
__pycache__
/
View File Name :
fields.cpython-312.pyc
tYh+ d dl mZ d dlZd dlZd dlZej eef Z ej e ej ee f ej ee ef f Z d ddZddZ ddZddZddZ G d d Zy) )annotationsNc B | rt j | d xs |S |S )z Guess the "Content-Type" of a file. :param filename: The filename to guess the "Content-Type" of using :mod:`mimetypes`. :param default: If no "Content-Type" can be guessed, default to `default`. r ) mimetypes guess_type)filenamedefaults 0/usr/lib/python3/dist-packages/urllib3/fields.pyguess_content_typer s' ##H-a0;G;N c Z ddl }|j dt d t t rj d t fddD s| d d } |j d |S t j j d | d S # t t f$ r Y :w xY w) a Helper function to format and quote a single header parameter using the strategy defined in RFC 2231. Particularly useful for header parameters which might contain non-ASCII values, like file names. This follows `RFC 2388 Section 4.4
`_. :param name: The name of the parameter, a string expected to be ASCII only. :param value: The value of the parameter, provided as ``bytes`` or `str``. :returns: An RFC-2231-formatted unicode string. .. deprecated:: 2.0.0 Will be removed in urllib3 v2.1.0. This is not valid for ``multipart/form-data`` header parameters. r Nz'format_header_param_rfc2231' is deprecated and will be removed in urllib3 v2.1.0. This is not valid for multipart/form-data header parameters. stacklevelutf-8c 3 &