Outgoing body compression middleware for the Tide server framework.
```rust
async fn main() { let mut app = tide::new(); app.with(tide_compress::CompressMiddleware::new()); } ```
Accept-Encoding
][] header checking including priority.Cache-Control: no-transform
][] header.Vary
][] header.Content-Type
][] header (MIME).
^text/|\+(?:json|text|xml)$
(case insensitive).Regex
][], with None
as an option.regex
crate or codegen poses build issues.This crate, in its current set up with the db-check
feature enabled (which is by default),
pulls down a json MIME database from the network at build time.
Licensed under the BlueOak Model License 1.0.0 — Contributions via DCO 1.1