Skip to content

Commit ec61b1a

Browse files
authored
Add application MIME types in Lib/test/test_mimetypes.py
1 parent 29bbb5f commit ec61b1a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Lib/test/test_mimetypes.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,23 @@ def test_guess_known_extensions(self):
225225
def test_preferred_extension(self):
226226
def check_extensions():
227227
for mime_type, ext in (
228+
('applicaion/efi','.efi' ),
228229
("application/epub+zip", ".epub"),
230+
( 'application/json','.json' ),
231+
( 'application/manifest+json','.webmanifest'),
232+
('applicaion/mathematica','.nb' ),
233+
( 'application/mathml+xml','.mml' ),
234+
( 'application/mbox','.mbox' ),
229235
("application/octet-stream", ".bin"),
230236
("application/gzip", ".gz"),
237+
( 'application/ocsp-response','.ors' ),
238+
( 'application/ocsp-request','.orq' ),
239+
('application/pem-certificate-chain','.pem' ),
240+
('application/pgp-keys','.asc' ),
231241
("application/ogg", ".ogx"),
232242
("application/postscript", ".ps"),
243+
( 'application/rfc+xml','.rfcxml' ),
244+
('application/sql','.sql' ),
233245
("application/texinfo", ".texi"),
234246
("application/toml", ".toml"),
235247
("application/vnd.apple.mpegurl", ".m3u"),
@@ -251,6 +263,7 @@ def check_extensions():
251263
("application/x-troff", ".roff"),
252264
("application/xml", ".xsl"),
253265
("application/yaml", ".yaml"),
266+
('application/zstd','.zst' ),
254267
("audio/flac", ".flac"),
255268
("audio/matroska", ".mka"),
256269
("audio/mp4", ".m4a"),

0 commit comments

Comments
 (0)