pub fn asset_kind(mime: &str) -> AssetKind
Determine the media kind based on the prefix of the MIME type.