fn media_type(content_type: &str) -> &str
The media type in what a server calls content_type, without what follows it.
content_type