Function compressible::is_compressible[][src]

pub fn is_compressible(content_type: &str) -> bool
Expand description

Returns bool indicating whether the provided content type is compressible using compression algorithms like brotli, gzip, deflate, etc.

The provided content_type is parsed using https://docs.rs/mime/0.3.16/mime/ and returns false if the parsing fails.