Skip to main content

mime_for_path

Function mime_for_path 

Source
pub fn mime_for_path(path: &Path) -> &'static str
Expand description

MIME type for any path; falls back to application/octet-stream for unknowns.