infer_content_type

Function infer_content_type 

Source
pub async fn infer_content_type(extension: &str) -> Result<ContentType>
Expand description

Given a file extension, infer its mime