Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2894

Add support for WebAssembly (Content-Type application/wasm, or .wasm extension)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.21
    • Fix Version/s: 1.23
    • Component/s: detector
    • Labels:
      None

      Description

      Right now I cannot find any support for wasm (WebAssembly) files, I need to add an external if statement in my spring boot project.

      String path = resource.getFile().getPath();
      if (path.endsWith(".wasm"))

      Unknown macro: {   servletResponse.setContentType("application/wasm"); }

      else

      Unknown macro: {   servletResponse.setContentType(tika.detect(path)); }

      It would be nice to add support for this format as well.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                davemeikle Dave Meikle
                Reporter:
                tirithen Fredrik Söderström
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: