Skip to content

Commit f96d32d

Browse files
committed
Add mimetype: glTF binary model/gltf-binary (.glb)
1 parent 40c07bd commit f96d32d

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

Doc/whatsnew/3.14.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -971,6 +971,7 @@ mimetypes
971971
* Add Android Package ``application/vnd.android.package-archive`` (``.apk``)
972972
when not strict
973973
* Add deb ``application/x-debian-package`` (``.deb``)
974+
* Add glTF binary ``model/gltf-binary`` (``.glb``)
974975
* Add M4V ``video/x-m4v`` (``.m4v``)
975976
* Add PHP ``application/x-httpd-php`` (``.php``)
976977
* Add RAR ``application/vnd.rar`` (``.rar``)

Lib/mimetypes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,7 @@ def _default_mime_types():
617617
'.mht' : 'message/rfc822',
618618
'.mhtml' : 'message/rfc822',
619619
'.nws' : 'message/rfc822',
620+
'.glb' : 'model/gltf-binary',
620621
'.css' : 'text/css',
621622
'.csv' : 'text/csv',
622623
'.html' : 'text/html',

Lib/test/test_mimetypes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ def check_extensions():
273273
("image/webp", ".webp"),
274274
("image/wmf", ".wmf"),
275275
("message/rfc822", ".eml"),
276+
("model/gltf-binary", ".glb"),
276277
("text/html", ".html"),
277278
("text/plain", ".txt"),
278279
("text/rtf", ".rtf"),

0 commit comments

Comments
 (0)