Function actix_web::fs::file_extension_to_mime
source · Expand description
Return the MIME type associated with a filename extension (case-insensitive).
If ext
is empty or no associated type for the extension was found, returns
the type application/octet-stream
.