Registered MIME type?
I'm curious if any work has been done to register a MIME type with IANA for YAML: https://www.iana.org/form/media-types
I would suggest (and have been using) application/yaml, but of course that's up for discussion/debate. I've seen quite a few different types in usage, and it would be nice to have an officially-registered one!
This needs to happen. Whomever will register this should ponder text/yaml, too, but I believe "application/yaml" is the more commonly used media type.
YAML is too important to leave unregistered. It may not be obvious, but being unregistered with IANA is a barrier to adoption. There is a reason why we don't see browser support for YAML, as we do for JSON. Web tooling that might easily transition between YAML and JSON is hindered by YAML's non-standardness.
@hairyhenderson provided the IANA media type registration link. With today's release of YAML 1.2.2, let's make YAML an official media type.
Registering a MIME type in the standards tree (as opposed to the vendor or personal trees) requires, among other things, that the spec be published as an RFC. This is a much more involved process than simply filling out the registration form. At this time there is no concrete plan to go through that process, but we may do so in the future.
[...] the spec be published as an RFC
Thanks for that - I wasn't aware of that requirement. For anyone else curious, see RFC 6838 §3.1:
[...] The registration proposal MUST be published as an RFC. [...]
I do hope the YAML Language Development Team considers publishing an RFC at some point, but no pressure. I can imagine it's a considerable undertaking!
If the work is an obstacle, I'm willing to do some of the heavy lifting. I have not been through the process, but I'm interested in learning how to work with the IETF. If I put a draft together and outlined steps to address whatever other formalities are required, could we consider moving forward from there?
See https://github.com/ietf-wg-httpapi/mediatypes/issues/10