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)