diff options
-rw-r--r-- | data/freedesktop.org.xml.in | 9 | ||||
-rw-r--r-- | tests/mime-detection/list | 2 | ||||
-rw-r--r-- | tests/mime-detection/test.glb | bin | 0 -> 1632 bytes |
3 files changed, 11 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 3ed0df72..b0b71518 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -5705,6 +5705,15 @@ command to generate the output files. <glob pattern="*.igs"/> <glob pattern="*.iges"/> </mime-type> + <mime-type type="model/gltf-binary"> + <comment>glTF model</comment> + <acronym>glTF</acronym> + <expanded-acronym>GL Transmission Format</expanded-acronym> + <magic> + <match type="string" value="glTF" offset="0"/> + </magic> + <glob pattern="*.glb"/> + </mime-type> <mime-type type="model/vrml"> <comment>VRML document</comment> <acronym>VRML</acronym> diff --git a/tests/mime-detection/list b/tests/mime-detection/list index 0237962a..1efb647a 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -665,6 +665,8 @@ PWAD.WAD application/x-doom-wad # Models cube.igs model/iges cube.wrl model/vrml +# Copied from https://github.com/KhronosGroup/glTF-Sample-Models/blob/master/2.0/BoxInterleaved/glTF-Binary/BoxInterleaved.glb +test.glb model/gltf-binary # other text.pdf application/pdf diff --git a/tests/mime-detection/test.glb b/tests/mime-detection/test.glb Binary files differnew file mode 100644 index 00000000..25cb4046 --- /dev/null +++ b/tests/mime-detection/test.glb |