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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.21
    • 1.23
    • detector
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: