pub fn parse_with(header: &str, parse_parameters: bool) -> ContentTypeExpand description
Parse a Content-Type header value, optionally skipping parameters.
With parse_parameters = false, only the media type is extracted (the reference’s
{ parameters: false } option).