solo-io / wasm

Web Assembly tools and SDKs for extending cloud-native infrastructure
Apache License 2.0
305 stars 39 forks source link

Layer mediaType choice? #256

Open jonjohnsonjr opened 3 years ago

jonjohnsonjr commented 3 years ago

Looking at the spec, I'm curious about the decision to use application/vnd.module.wasm.content.layer.v1+wasm as the layer's mediaType. Two points:

  1. The +wasm suffix isn't registered with IANA, so it's unclear what this means.
  2. The application/wasm MIME type seems to have been already decided by w3 (see here), why not use this?

As a bonus question, it doesn't appear that application/wasm is registered with IANA, are you aware of any plans to do so? (That's more of an ecosystem decision and not specific this repo, but it might be work poking some folks.)

jonjohnsonjr commented 3 years ago

@ilackarms any ideas? :)