5 releases
| 0.2.3 | Apr 7, 2024 |
|---|---|
| 0.2.2 | Jan 2, 2024 |
| 0.2.1 | Mar 10, 2023 |
| 0.2.0 | Mar 9, 2023 |
| 0.1.0 | Oct 10, 2021 |
#19 in #trillium
2,564 downloads per month
83KB
1.5K
SLoC
Trillium handlers for etag and last-modified-since headers.
This crate provides three handlers: Etag, Modified, and
CachingHeaders, as well as a CachingHeadersExt that extends
trillium::Headers with some accessors.
Unless you are sure that you don't want either etag or last-modified
behavior, please use the combined CachingHeaders handler.
Welcome to Trillium!
📖 Guide 📖
The guide provides an architectural overview and lay of the land connecting the trillium crates.
📑 Rustdocs 📑
The rustdocs represent the best way to learn about any of trillium's individual crates and the specific interfaces.
Legal:
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~7.5MB
~190K SLoC