Appendix C. Media types
XML Calabash recognizes the following media types:
| Type | Included media types | Excluded media types |
|---|---|---|
| XML | application/xml | application/xhtml+xml |
| text/xml | ||
| */*+xml | ||
| HTML | text/html | |
| application/xhtml+xml | ||
| Text | text/* | text/html |
| application/relax-ng-compact-syntax | text/xml | |
| application/javascript | text/yaml | |
| JSON | application/json | |
| */*+json | ||
| YAML | application/vnd.yaml | |
| text/yaml | ||
| application/yaml | ||
| application/x-yaml | ||
| application/*+yaml | ||
| TOML | application/toml |
ⓘ
Note
Internally, YAML and TOML are treated exactly like JSON. Those content types only apply for loading and serializing documents.