You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
implies that request would be issued with ContentType:*/* and response would be discarded based on ContentType. Which is wasteful, we already know what we accept.
Mechanism already defined in HTML <script language=vbscript type=text/vbscript>. Unfortunately used by type="module" but
may be not pretty, but functional, tested in transition to PNG.
Currently there is a need to define "new types", searching for "type that is not MIME type" may be hard. While we are half there with image/*, audio/*, video/*.
Please reconsider use of alias (iftype) as core dependency. It may be built on top:
import value from "module" with { typeAlias: "json" };
contentTypeAlias.define("javascript", "application/javascript,application/javascript-binast")
contentTypeAlias.define("json|wasm", "application/json,application/wasm;q=0.9")
Thank you.
The text was updated successfully, but these errors were encountered:
The proposal has been updated to allow import assertions/attributes to affect the module loading process, so that HTML could send headers such as Accept: to the server.
May I ask to consider use of
ContentType
?The keyword "if"
implies that request would be issued with
ContentType:*/*
and response would be discarded based onContentType
. Which is wasteful, we already know what we accept.Mechanism already defined in HTML
<script language=vbscript type=text/vbscript>
. Unfortunately used bytype="module"
butmakes no requests. So it can be defined as "import WASM module".
It covers the need for Content Negotiation:
may be not pretty, but functional, tested in transition to PNG.
Currently there is a need to define "new types", searching for "type that is not MIME type" may be hard. While we are half there with
image/*
,audio/*
,video/*
.Please reconsider use of alias (
iftype
) as core dependency. It may be built on top:Thank you.
The text was updated successfully, but these errors were encountered: