diff options
author | Nathan Beals <850796+ndbeals@users.noreply.github.com> | 2021-03-03 00:20:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-03 00:20:18 (GMT) |
commit | 3a87e562ea21a5083e9f168e02e8ec3e6611e167 (patch) | |
tree | dfd499a74cf70ff9189c4db2997ac5aa5810dc56 | |
parent | 132131b404e06ee1a19b040a1f96cd1118abed0c (diff) | |
download | cpython-3a87e562ea21a5083e9f168e02e8ec3e6611e167.zip cpython-3a87e562ea21a5083e9f168e02e8ec3e6611e167.tar.gz cpython-3a87e562ea21a5083e9f168e02e8ec3e6611e167.tar.bz2 |
bpo-42994: Add MIME types for opus, AAC, 3gpp and 3gpp2 (#24287)
Co-authored-by: Nathan Beals <ndbeals@users.noreply.github.com>
-rw-r--r-- | Lib/mimetypes.py | 9 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Library/2021-01-21-16-58-34.bpo-42994.El0Ksp.rst | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index f3343c8..d2c8ac7 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -481,10 +481,19 @@ def _default_mime_types(): '.wsdl' : 'application/xml', '.xpdl' : 'application/xml', '.zip' : 'application/zip', + '.3gp' : 'audio/3gpp', + '.3gpp' : 'audio/3gpp', + '.3g2' : 'audio/3gpp2', + '.3gpp2' : 'audio/3gpp2', + '.aac' : 'audio/aac', + '.adts' : 'audio/aac', + '.loas' : 'audio/aac', + '.ass' : 'audio/aac', '.au' : 'audio/basic', '.snd' : 'audio/basic', '.mp3' : 'audio/mpeg', '.mp2' : 'audio/mpeg', + '.opus' : 'audio/opus', '.aif' : 'audio/x-aiff', '.aifc' : 'audio/x-aiff', '.aiff' : 'audio/x-aiff', diff --git a/Misc/NEWS.d/next/Library/2021-01-21-16-58-34.bpo-42994.El0Ksp.rst b/Misc/NEWS.d/next/Library/2021-01-21-16-58-34.bpo-42994.El0Ksp.rst new file mode 100644 index 0000000..40f8547 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-01-21-16-58-34.bpo-42994.El0Ksp.rst @@ -0,0 +1 @@ +Add MIME types for opus, AAC, 3gpp and 3gpp2 |