pub fn content_type(headers: &HeaderMap) -> Option<&str>
Extract content type from headers (just the media type, no parameters).