application/yaml
YAML document
| Description | YAML document |
|---|---|
| File extensions | .yaml, .yml |
| Aliases | application/x-yamltext/yamltext/x-yaml |
| Based on | text/plain |
| Signature (magic bytes) | 25 59 41 4D 4C (%YAML) |
Frequently asked questions
What is the MIME type application/yaml?
application/yaml denotes “YAML document”.
Which file extension does application/yaml use?
Files of type application/yaml usually end in .yaml and .yml.
How does a web server serve application/yaml correctly?
With the header Content-Type: application/yaml. In nginx: types { application/yaml yaml yml; }; in Apache: AddType application/yaml .yaml .yml.
Are there other names for application/yaml?
Yes, application/x-yaml, text/yaml and text/x-yaml are used as equivalents.
Which formats are based on application/yaml?
Formats based on it include RAML document and Kaitai Struct definition file.
Formats based on it
- application/raml+yaml – RAML document
- text/x-kaitai-struct – Kaitai Struct definition file