I would say text / x-yaml:
text on top of the application because it is human readable
x-yaml over yaml because it was not accepted into the registered list of mime types.
Edit: from RFC 3023 (XML Media Types):
The βtextβ format at the top level is some restrictions on MIME objects and they are described in [RFC2045] and [RFC2046]. In particular, the UTF-16, UCS-4, and UTF-32 families are not allowed (except for HTTP [RFC2616], which uses a MIME-like mechanism).
Interesting ... Not quite sure what that means, but food for thought.
Greg Dec 01 '08 at 20:50 2008-12-01 20:50
source share