[ https://issues.apache.org/jira/browse/TIKA-2894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16961518#comment-16961518 ]
ASF GitHub Bot commented on TIKA-2894: -------------------------------------- dameikle commented on pull request #295: TIKA-2894: Add mime type detection support for WebAssembly URL: https://github.com/apache/tika/pull/295 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Add support for WebAssembly (Content-Type application/wasm, or .wasm > extension) > ------------------------------------------------------------------------------- > > Key: TIKA-2894 > URL: https://issues.apache.org/jira/browse/TIKA-2894 > Project: Tika > Issue Type: Improvement > Components: detector > Affects Versions: 1.21 > Reporter: Fredrik Söderström > Assignee: Dave Meikle > Priority: Major > > Right now I cannot find any support for wasm (WebAssembly) files, I need to > add an external if statement in my spring boot project. > {quote}String path = resource.getFile().getPath(); > if (path.endsWith(".wasm")) { > servletResponse.setContentType("application/wasm"); > } else { > servletResponse.setContentType(tika.detect(path)); > } > {quote} > It would be nice to add support for this format as well. -- This message was sent by Atlassian Jira (v8.3.4#803005)