Skip to main content

mime_from_extension

Function mime_from_extension 

Source
pub fn mime_from_extension(ext: &str) -> &'static str
Expand description

Get MIME type from file extension.