pub fn content_type_is_a(type_: &str, supertype: &str) -> bool
Expand description

Determines if type_ is a subset of supertype.

type_

a content type string

supertype

a content type string

Returns

true if type_ is a kind of supertype, false otherwise.