Bug 63162 - Missing AddType application/wasm .wasm
Summary: Missing AddType application/wasm .wasm
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_mime (show other bugs)
Version: 2.5-HEAD
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-10 17:21 UTC by kungfooman
Modified: 2019-02-10 17:46 UTC (History)
0 users



Attachments
MIME error in Chrome (11.68 KB, image/png)
2019-02-10 17:21 UTC, kungfooman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kungfooman 2019-02-10 17:21:31 UTC
Created attachment 36432 [details]
MIME error in Chrome

`mime.conf` needs `AddType application/wasm .wasm`, otherwise it breaks WebAssembly API:

`Uncaught (in promise) TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.`
Comment 1 Eric Covener 2019-02-10 17:46:23 UTC
Seems to be provisionally registered @ IANA: 

https://www.iana.org/assignments/provisional-standard-media-types/provisional-standard-media-types.xhtml

... for months according to:
https://github.com/WebAssembly/design/issues/1202