pub fn content_type_equals(type1: &str, type2: &str) -> bool
Compares two content types for equality.
type1
a content type string
type2
true if the two strings are identical or equivalent, false otherwise.
true
false