Function kvarn::comprash::do_compress

source ·
pub fn do_compress(mime: &Mime, check_utf8: impl Fn() -> bool) -> bool
Expand description

Checks mime if the content should be compressed; heuristically checks for compressed formats.