Skip to content

TypeError: Incorrect response MIME type. Expected 'application/wasm' #5

Closed
@tennisonchan

Description

@tennisonchan

Since application/wasm isn't an official MIME type yet, WebAssembly/spec#573, in case you got the type error of an incorrect response MIME type, you can add the following line in file /etc/mime.types and then restart the server.

application/wasm    wasm

FYI:
https://bugs.python.org/issue31670
python/cpython#3861

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions