Skip to content

Commit 29bbb5f

Browse files
authored
Add application MIME types in Lib/mimetypes.py
1 parent e09837f commit 29bbb5f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Lib/mimetypes.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,10 +477,16 @@ def _default_mime_types():
477477
types_map = _types_map_default = {
478478
'.js' : 'text/javascript',
479479
'.mjs' : 'text/javascript',
480+
'.efi' : 'applicaion/efi',
480481
'.epub' : 'application/epub+zip',
481482
'.gz' : 'application/gzip',
482483
'.json' : 'application/json',
483484
'.webmanifest': 'application/manifest+json',
485+
'.nb' : 'applicaion/mathematica',
486+
'.ma' : 'applicaion/mathematica',
487+
'.mb' : 'applicaion/mathematica',
488+
'.mml' : 'application/mathml+xml',
489+
'.mbox' : 'application/mbox',
484490
'.doc' : 'application/msword',
485491
'.dot' : 'application/msword',
486492
'.wiz' : 'application/msword',
@@ -493,13 +499,19 @@ def _default_mime_types():
493499
'.o' : 'application/octet-stream',
494500
'.obj' : 'application/octet-stream',
495501
'.so' : 'application/octet-stream',
502+
'.ors' : 'application/ocsp-response',
503+
'.orq' : 'application/ocsp-request',
496504
'.oda' : 'application/oda',
497505
'.ogx' : 'application/ogg',
498506
'.pdf' : 'application/pdf',
507+
'.pem' : 'application/pem-certificate-chain',
508+
'.asc' : 'application/pgp-keys',
499509
'.p7c' : 'application/pkcs7-mime',
500510
'.ps' : 'application/postscript',
501511
'.ai' : 'application/postscript',
502512
'.eps' : 'application/postscript',
513+
'.rfcxml' : 'application/rfc+xml',
514+
'.sql' : 'application/sql',
503515
'.texi' : 'application/texinfo',
504516
'.texinfo': 'application/texinfo',
505517
'.toml' : 'application/toml',
@@ -566,6 +578,7 @@ def _default_mime_types():
566578
'.yaml' : 'application/yaml',
567579
'.yml' : 'application/yaml',
568580
'.zip' : 'application/zip',
581+
'.zst' : 'application/zstd',
569582
'.3gp' : 'audio/3gpp',
570583
'.3gpp' : 'audio/3gpp',
571584
'.3g2' : 'audio/3gpp2',

0 commit comments

Comments
 (0)