Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 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 Lib/mimetypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@ def _default_mime_types():
types_map = _types_map_default = {
'.js' : 'text/javascript',
'.mjs' : 'text/javascript',
'.dcm' : 'application/dicom',
'.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 @@ -226,6 +226,7 @@ def check_extensions():
for mime_type, ext in (
("application/epub+zip", ".epub"),
("application/octet-stream", ".bin"),
("application/dicom", ".dcm"),
("application/gzip", ".gz"),
("application/ogg", ".ogx"),
("application/pdf", ".pdf"),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added support for DICOM files (for medical imaging) with the official MIME type application/dicom.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added support for DICOM files (for medical imaging) with the official MIME type application/dicom. This feature was added by Benedikt Johannes.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added support for DICOM files (for medical imaging) with the official MIME type application/dicom. This feature was added by Benedikt Johannes.
Comment thread
benediktjohannes marked this conversation as resolved.
Outdated
Loading