This is an automated email from the ASF dual-hosted git repository. dmeikle pushed a commit to branch branch_1x in repository https://gitbox.apache.org/repos/asf/tika.git
commit 593e29d62347e6352d8ec01ad82573e8ad1f8dab Author: David Meikle <[email protected]> AuthorDate: Mon Oct 28 22:38:29 2019 +0000 TIKA-2894: Add mime type detection support for WebAssembly (cherry picked from commit 31304f8ba1aad16d76c3381d25efc245c32743e8) --- .../src/main/resources/org/apache/tika/mime/tika-mimetypes.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml index 459da23..dd7a206 100644 --- a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml +++ b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml @@ -2807,6 +2807,16 @@ <glob pattern="*.warc"/> </mime-type> + <mime-type type="application/wasm"> + <acronym>Wasm</acronym> + <_comment>Web Assembly</_comment> + <magic priority="50"> + <match value="0x6d736100" type="little32" offset="0" /> + <match value="0x6d736100" type="big32" offset="0" /> + </magic> + <glob pattern="*.wasm"/> + </mime-type> + <mime-type type="application/watcherinfo+xml"/> <mime-type type="application/whoispp-query"/> <mime-type type="application/whoispp-response"/>
