Function hyper_fs::content_type_maker [] [src]

pub fn content_type_maker(
    _file: &mut File,
    _metadata: &Metadata,
    path: &PathBuf,
    _req: &Request,
    headers: &mut Headers
) -> Result<()>

use mime_guess to add Content-Type for file.