Re: [whatwg/fetch] What is the right destination type for non-JS modules? (#967)

I think bypassing nosniff if you're enforcing MIME types yourself is fine. (Also, this all requires CORS, which helps a lot.)

I think the tricky bit with changing destination is that it's a single value and you might accept multiple types. If you accept JSON or JS, what's the destination? Does the server need to know both are acceptable? (https://github.com/littledan/proposal-module-attributes/issues/7)

Furthermore, if you accept Wasm, does that mean you're also accepting JS or for that Wasm to import JS? (https://github.com/littledan/proposal-module-attributes/issues/19)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/967#issuecomment-555006328

Received on Monday, 18 November 2019 13:04:58 UTC