pub fn parse_content_type(headers: &HeaderMap) -> Result<Option<&str>>
Parse content type from header map.