Function mime_guess::get_mime_type_str
[−]
[src]
pub fn get_mime_type_str(search_ext: &str) -> Option<&'static str>
Get the MIME type string associated with a file extension.
search_ext
is converted to lowercase for a case-insensitive binary search.
Returns None
if search_ext
is empty or an associated extension was not found.