Skip to content
Next Next commit
Add additional MIME types for Microsoft formats
  • Loading branch information
clin1234 authored Mar 10, 2026
commit b0fa8942c32e35758a7993c44a8d959375950719
5 changes: 5 additions & 0 deletions Lib/test/test_mimetypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,13 @@ def check_extensions():
("application/texinfo", ".texi"),
("application/toml", ".toml"),
("application/vnd.apple.mpegurl", ".m3u"),
("application/vnd.microsoft.portable-executable", ".exe"),
("application/vnd.ms-cab-compressed", ".cab"),
Comment thread
clin1234 marked this conversation as resolved.
Outdated
("application/vnd.ms-excel", ".xls"),
("application/vnd.ms-fontobject", ".eot"),
("application/vnd.ms-htmlhelp", ".chm"),
("application/vnd.ms-powerpoint", ".ppt"),
("application/vnd.ms-officetheme", ".thmx"),
Comment thread
clin1234 marked this conversation as resolved.
Outdated
("application/vnd.oasis.opendocument.graphics", ".odg"),
("application/vnd.oasis.opendocument.presentation", ".odp"),
("application/vnd.oasis.opendocument.spreadsheet", ".ods"),
Expand Down Expand Up @@ -275,6 +279,7 @@ def check_extensions():
("image/t38", ".t38"),
("image/tiff", ".tiff"),
("image/tiff-fx", ".tfx"),
("image/vnd.microsoft.icon", ".ico"),
Comment thread
clin1234 marked this conversation as resolved.
Outdated
("image/webp", ".webp"),
("image/wmf", ".wmf"),
("message/rfc822", ".eml"),
Expand Down