http-rs / http-rs/http-types

Add `Mime::is_compressible` method

Open
#273 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.