| Crates.io | tide-compress |
| lib.rs | tide-compress |
| version | 0.11.0 |
| created_at | 2020-05-23 18:02:43.304987+00 |
| updated_at | 2023-01-16 20:04:48.327229+00 |
| description | Outgoing compression middleware for the Tide server framework. |
| homepage | |
| repository | https://github.com/Fishrock123/tide-compress |
| max_upload_size | |
| id | 244946 |
| size | 87,065 |
Outgoing body compression middleware for the Tide server framework.
#[async_std::main]
async fn main() {
let mut app = tide::new();
app.with(tide_compress::CompressMiddleware::new());
}
"identity" encoding directive as per RFC 9110.Accept-Encoding header checking including priority.Cache-Control: no-transform header.Vary header.Content-Type header (MIME).
cargo run generate-database.^text/|\+(?:json|text|xml)$ (case insensitive).Regex, with None as an option.regex crate poses build issues.Licensed under the BlueOak Model License 1.0.0 — Contributions via DCO 1.1