Skip to main content

content_type

Function content_type 

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

Guess a content type from the file extension.