You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Fredrik Söderström (JIRA)" <ji...@apache.org> on 2019/06/12 09:15:00 UTC
[jira] [Created] (TIKA-2894) Add support for WebAssembly
(Content-Type application/wasm, or .wasm extension)
Fredrik Söderström created TIKA-2894:
----------------------------------------
Summary: 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
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
(v7.6.3#76005)