mirror of https://github.com/rwf2/Rocket.git
Add 'application/vnd.api+json' as known media type.
This commit is contained in:
parent
e9c68ba666
commit
9bf33bdd1b
|
@ -22,7 +22,8 @@ macro_rules! known_media_types {
|
||||||
TTF (is_ttf): "TTF", "application", "font-sfnt",
|
TTF (is_ttf): "TTF", "application", "font-sfnt",
|
||||||
OTF (is_otf): "OTF", "application", "font-sfnt",
|
OTF (is_otf): "OTF", "application", "font-sfnt",
|
||||||
WOFF (is_woff): "WOFF", "application", "font-woff",
|
WOFF (is_woff): "WOFF", "application", "font-woff",
|
||||||
WOFF2 (is_woff2): "WOFF2", "font", "woff2"
|
WOFF2 (is_woff2): "WOFF2", "font", "woff2",
|
||||||
|
JsonApi (is_json_api): "JSON API", "application", "vnd.api+json"
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue