content_type_from_ext

Function content_type_from_ext 

Source
pub fn content_type_from_ext(ext: &str) -> Option<&'static str>
Expand description

Derives the content type from a file extension