Add 'application/vnd.api+json' as known media type.

This commit is contained in:
Zachary Golba 2017-11-09 13:25:28 -05:00 committed by Sergio Benitez
parent e9c68ba666
commit 9bf33bdd1b
1 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,8 @@ macro_rules! known_media_types {
TTF (is_ttf): "TTF", "application", "font-sfnt",
OTF (is_otf): "OTF", "application", "font-sfnt",
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"
})
}