pub fn content_type_is_mime_type(type_: &str, mime_type: &str) -> bool
Determines if type_ is a subset of mime_type. Convenience wrapper around content_type_is_a().
type_
mime_type
content_type_is_a()
a content type string
a mime type string
true if type_ is a kind of mime_type, false otherwise.
true
false