Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Doc/whatsnew/3.15.rst
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,7 @@ mimetypes
* Add ``application/sql`` and ``application/vnd.sqlite3``.
(Contributed by Charlie Lin in :gh:`145698`.)
* Add ``image/jxl``. (Contributed by Foolbar in :gh:`144213`.)
* Add ``application/efi``. (Contributed by Charlie Lin in :gh:`145720`.)
* Add the following MIME types:

- ``application/vnd.ms-cab-compressed`` for ``.cab`` extension
Expand Down
1 change: 1 addition & 0 deletions Lib/mimetypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ def _default_mime_types():
'.js' : 'text/javascript',
'.mjs' : 'text/javascript',
'.dcm' : 'application/dicom',
'.efi' : 'application/efi',
'.epub' : 'application/epub+zip',
'.gz' : 'application/gzip',
'.json' : 'application/json',
Expand Down
1 change: 1 addition & 0 deletions Lib/test/test_mimetypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ def check_extensions():
("application/epub+zip", ".epub"),
("application/octet-stream", ".bin"),
("application/dicom", ".dcm"),
("application/efi", ".efi"),
("application/gzip", ".gz"),
("application/ogg", ".ogx"),
("application/pdf", ".pdf"),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add ``application/efi`` MIME type to :mod:`mimetypes`.
Loading