Add WASM as known media type.

This commit is contained in:
Karuna Murti 2018-01-30 22:27:03 +09:00 committed by Sergio Benitez
parent 9bc6502fa7
commit 68683eb0a9

View File

@ -27,6 +27,7 @@ macro_rules! known_media_types {
WOFF (is_woff): "WOFF", "application", "font-woff",
WOFF2 (is_woff2): "WOFF2", "font", "woff2",
JsonApi (is_json_api): "JSON API", "application", "vnd.api+json",
WASM (is_wasm): "WASM", "application", "wasm",
})
}
@ -55,6 +56,7 @@ macro_rules! known_extensions {
"otf" => OTF,
"woff" => WOFF,
"woff2" => WOFF2,
"wasm" => WASM,
})
}