Add `Mime::is_compressible` method
Open
- Dominant language
- Rust
- Stars
- 209
- Forks
- 91
- PR merge metrics
- No merged PRs in 30d
Description
Tracking issue: #274
When https://github.com/http-rs/http-types/issues/272 implemented we should add the `Mime::is_compressible` method which can inform which mime types make sense to compress. This is great for negotiating compression in static file servers, as some formats are already compressed when sending over the wire, and applying another round of compression is only going to cost performance.
Contributor guide
Assessment
This issue has not been assessed yet.