[−][src]Function rouille::extension_to_mime
pub fn extension_to_mime(extension: &str) -> &'static str
Returns the mime type of a file based on its extension, or application/octet-stream
if the
extension is unknown.
pub fn extension_to_mime(extension: &str) -> &'static str
Returns the mime type of a file based on its extension, or application/octet-stream
if the
extension is unknown.