pub fn detect_content_type( path: Option<&Path>, content: Option<&str>, ) -> ContentType
Detect content type from extension or content