-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Add "application/wasm" to MimeMappings #17254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I don't think we should make this addition, for the same reasons as #6022:
Further to this, from Mark Thomas, Tomcat uses Apache HTTPD's mappings as the source for its mappings. At the time of writing, HTTPD does not have a mapping for |
WebAssembly isn't going anywhere nor is the standard changing anytime soon. As referenced the mime-type is required by the standard (see referenced part of documentation). Soon enough everybody who implements wasm will require it and it will need to be added much like application/json as json wasn't going anywhere either. |
I think we should continue to drive the contents of @ememisya Feel free to raise an issue on the Tomcat issue tracker for this. If it's accepted there, we'll pick it up here in due course. |
As it turns out the media type is currently still in provisional status as per IANA ( https://www.iana.org/assignments/media-types/media-types.xhtml ). Apparently this is also what Apache is waiting on at this time. I'll keep an eye on it, thanks all. |
spring-boot/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/server/MimeMappings.java
Line 206 in cc18076
Please prepend:
To the indicated line. Currently I'm handling recognition of the wasm payload as such:
Thank you for your time!
See (https://webassembly.org/docs/web/) for further details on the type.
The text was updated successfully, but these errors were encountered: