⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.24
Server IP:
50.6.168.112
Server:
Linux server-617809.webnetzimbabwe.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.4.10
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
alt
/
python311
/
lib64
/
python3.11
/
__pycache__
/
View File Name :
mimetypes.cpython-311.pyc
־ d Z ddlZddlZddlZddlZ ddlmZ n # e$ r dZY nw xY w ddl Z n # e$ r dZ Y nw xY wg dZg dZda da G d d Zdd ZddZddZdd ZddZd Zd Z e d Zedk r e dS dS )a Guess the MIME type of a file. This module defines two useful functions: guess_type(url, strict=True) -- guess the MIME type and encoding of a URL. guess_extension(type, strict=True) -- guess the extension for a given MIME type. It also contains the following, for tuning the behavior: Data: knownfiles -- list of files to parse inited -- flag set when init() has been called suffix_map -- dictionary mapping suffixes to suffixes encodings_map -- dictionary mapping suffixes to encodings types_map -- dictionary mapping suffixes to types Functions: init([files]) -- parse a list of files, default knownfiles (on Windows, the default values are taken from the registry) read_mime_types(file) -- parse one file, return a dictionary or None N) _mimetypes_read_windows_registry) knownfilesinited MimeTypes guess_typeguess_all_extensionsguess_extensionadd_typeinitread_mime_types suffix_map encodings_map types_mapcommon_types) z/etc/mime.typesz/etc/httpd/mime.typesz/etc/httpd/conf/mime.typesz/etc/apache/mime.typesz/etc/apache2/mime.types$/usr/local/etc/httpd/conf/mime.typesz"/usr/local/lib/netscape/mime.typesr z/usr/local/etc/mime.typesFc h e Zd ZdZddZddZddZddZddZdd Z dd Z ddZed Z d S )r zMIME-types datastore. This datastore can handle information from mime.types-style files and supports basic determination of MIME type from a filename or URL, and can guess a reasonable extension given a MIME type. Tc t st t | _ t | _ i i f| _ i i f| _ t D ]\ }}| ||d t D ]\ }}| ||d |D ]}| || d S NTF)r r _encodings_map_defaultcopyr _suffix_map_defaultr r types_map_inv_types_map_defaultitemsr _common_types_defaultread)self filenamesstrictexttypenames 0/opt/alt/python311/lib64/python3.11/mimetypes.py__init__zMimeTypes.__init__H s FFF388::-2244b "X-3355 + +KS$MM$T****06688 , ,KS$MM$U++++ $ $DIIdF#### $ $ c || j | |<