pub fn is_json_content_type(value: &str) -> boolExpand description
Returns whether a Content-Type value denotes UTF-8 application/json.
The charset parameter is optional because JSON exchanged by this binding is
always UTF-8; when present, its value must be utf-8. Other parameters are
rejected so intermediaries cannot silently select another representation.