Skip to main content

get_mime_type

Function get_mime_type 

Source
pub fn get_mime_type(file: &str) -> String
Expand description

Get the HTTP MIME type string for a given file extension.