MIME_TYPES: {
7Z: "application/x-7z-compressed";
7ZIP: "application/x-7z-compressed";
ALZ: "application/x-alz";
APK: "application/vnd.android.package-archive";
AVI: "video/x-msvideo";
BAT: "application/x-msdownload";
BMP: "image/bmp";
BZ2: "application/x-bzip2";
C: "text/x-csrc";
CPP: "text/x-c++src";
CS: "text/plain";
CSS: "text/css";
CSV: "text/csv";
DLL: "application/vnd.microsoft.portable-executable";
DMG: "application/x-apple-diskimage";
DOC: "application/msword";
DOCX: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
DOT: "application/msword";
DOTX: "application/vnd.openxmlformats-officedocument.wordprocessingml.template";
DWG: "application/acad";
DXF: "application/vnd.dxf";
EML: "message/rfc822";
EOT: "application/vnd.ms-fontobject";
EPUB: "application/epub+zip";
EXE: "application/vnd.microsoft.portable-executable";
FLAC: "audio/flac";
FLV: "video/x-flv";
GIF: "image/gif";
GO: "text/plain";
GZ: "application/gzip";
HTM: "text/html";
HTML: "text/html";
ICO: "image/vnd.microsoft.icon";
JAVA: "text/x-java-source";
JAVASCRIPT: "application/javascript";
JPEG: "image/jpeg";
JPG: "image/jpeg";
JSON: "application/json";
JSONLD: "application/ld+json";
KT: "text/plain";
M3U8: "application/vnd.apple.mpegurl";
M4A: "audio/mp4";
MAP: "application/json";
MKV: "video/x-matroska";
MOV: "video/quicktime";
MP3: "audio/mpeg";
MP4: "video/mp4";
MPD: "application/dash+xml";
MSG: "application/vnd.ms-outlook";
MSI: "application/x-msdownload";
OBJ: "application/octet-stream";
OGG: "audio/ogg";
OTF: "font/otf";
PDF: "application/pdf";
PHP: "application/x-httpd-php";
PNG: "image/png";
POT: "application/vnd.ms-powerpoint";
POTX: "application/vnd.openxmlformats-officedocument.presentationml.template";
PPSX: "application/vnd.openxmlformats-officedocument.presentationml.slideshow";
PPT: "application/vnd.ms-powerpoint";
PPTX: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
PY: "text/x-python";
RAR: "application/vnd.rar";
RB: "application/x-ruby";
RTF: "application/rtf";
STL: "application/sla";
SVG: "image/svg+xml";
SWF: "application/x-shockwave-flash";
SWIFT: "text/x-swift";
TAR: "application/x-tar";
TORRENT: "application/x-bittorrent";
TS: "video/mp2t";
TTF: "font/ttf";
TXT: "text/plain";
WASM: "application/wasm";
WAV: "audio/wav";
WEBM: "video/webm";
WEBP: "image/webp";
WMV: "video/x-ms-wmv";
WOFF: "font/woff";
WOFF2: "font/woff2";
XLS: "application/vnd.ms-excel";
XLSM: "application/vnd.ms-excel.sheet.macroEnabled.12";
XLSX: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
XLT: "application/vnd.ms-excel";
XML: "application/xml";
ZIP: "application/zip";
} = ...
Type declaration
Readonly
7Z: "application/x-7z-compressed"
Readonly
7ZIP: "application/x-7z-compressed"
Readonly
ALZ: "application/x-alz"
Readonly
APK: "application/vnd.android.package-archive"
Readonly
AVI: "video/x-msvideo"
Readonly
BAT: "application/x-msdownload"
Readonly
BMP: "image/bmp"
Readonly
BZ2: "application/x-bzip2"
Readonly
C: "text/x-csrc"
Readonly
CPP: "text/x-c++src"
Readonly
CS: "text/plain"
Readonly
CSS: "text/css"
Readonly
CSV: "text/csv"
Readonly
DLL: "application/vnd.microsoft.portable-executable"
Readonly
DMG: "application/x-apple-diskimage"
Readonly
DOC: "application/msword"
Readonly
DOCX: "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
Readonly
DOT: "application/msword"
Readonly
DOTX: "application/vnd.openxmlformats-officedocument.wordprocessingml.template"
Readonly
DWG: "application/acad"
Readonly
DXF: "application/vnd.dxf"
Readonly
EML: "message/rfc822"
Readonly
EOT: "application/vnd.ms-fontobject"
Readonly
EPUB: "application/epub+zip"
Readonly
EXE: "application/vnd.microsoft.portable-executable"
Readonly
FLAC: "audio/flac"
Readonly
FLV: "video/x-flv"
Readonly
GIF: "image/gif"
Readonly
GO: "text/plain"
Readonly
GZ: "application/gzip"
Readonly
HTM: "text/html"
Readonly
HTML: "text/html"
Readonly
ICO: "image/vnd.microsoft.icon"
Readonly
JAVA: "text/x-java-source"
Readonly
JAVASCRIPT: "application/javascript"
Readonly
JPEG: "image/jpeg"
Readonly
JPG: "image/jpeg"
Readonly
JSON: "application/json"
Readonly
JSONLD: "application/ld+json"
Readonly
KT: "text/plain"
Readonly
M3U8: "application/vnd.apple.mpegurl"
Readonly
M4A: "audio/mp4"
Readonly
MAP: "application/json"
Readonly
MKV: "video/x-matroska"
Readonly
MOV: "video/quicktime"
Readonly
MP3: "audio/mpeg"
Readonly
MP4: "video/mp4"
Readonly
MPD: "application/dash+xml"
Readonly
MSG: "application/vnd.ms-outlook"
Readonly
MSI: "application/x-msdownload"
Readonly
OBJ: "application/octet-stream"
Readonly
OGG: "audio/ogg"
Readonly
OTF: "font/otf"
Readonly
PDF: "application/pdf"
Readonly
PHP: "application/x-httpd-php"
Readonly
PNG: "image/png"
Readonly
POT: "application/vnd.ms-powerpoint"
Readonly
POTX: "application/vnd.openxmlformats-officedocument.presentationml.template"
Readonly
PPSX: "application/vnd.openxmlformats-officedocument.presentationml.slideshow"
Readonly
PPT: "application/vnd.ms-powerpoint"
Readonly
PPTX: "application/vnd.openxmlformats-officedocument.presentationml.presentation"
Readonly
PY: "text/x-python"
Readonly
RAR: "application/vnd.rar"
Readonly
RB: "application/x-ruby"
Readonly
RTF: "application/rtf"
Readonly
STL: "application/sla"
Readonly
SVG: "image/svg+xml"
Readonly
SWF: "application/x-shockwave-flash"
Readonly
SWIFT: "text/x-swift"
Readonly
TAR: "application/x-tar"
Readonly
TORRENT: "application/x-bittorrent"
Readonly
TS: "video/mp2t"
Readonly
TTF: "font/ttf"
Readonly
TXT: "text/plain"
Readonly
WASM: "application/wasm"
Readonly
WAV: "audio/wav"
Readonly
WEBM: "video/webm"
Readonly
WEBP: "image/webp"
Readonly
WMV: "video/x-ms-wmv"
Readonly
WOFF: "font/woff"
Readonly
WOFF2: "font/woff2"
Readonly
XLS: "application/vnd.ms-excel"
Readonly
XLSM: "application/vnd.ms-excel.sheet.macroEnabled.12"
Readonly
XLSX: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
Readonly
XLT: "application/vnd.ms-excel"
Readonly
XML: "application/xml"
Readonly
ZIP: "application/zip"