http_types/conditional/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//! HTTP conditional headers.
//!
//! Web page performance can be significantly improved by caching resources.
//! This submodule includes headers and types to communicate how and when to
//! cache resources.
//!
//! # Further Reading
//!
//! - [MDN: HTTP Conditional Requests](https://developer.mozilla.org/en-US/docs/Web/HTTP/Conditional_requests)

mod etag;
mod if_modified_since;
mod if_unmodified_since;
mod last_modified;
mod vary;

pub mod if_match;
pub mod if_none_match;

pub use etag::ETag;
pub use vary::Vary;

#[doc(inline)]
pub use if_match::IfMatch;
#[doc(inline)]
pub use if_modified_since::IfModifiedSince;
#[doc(inline)]
pub use if_none_match::IfNoneMatch;
#[doc(inline)]
pub use if_unmodified_since::IfUnmodifiedSince;
#[doc(inline)]
pub use last_modified::LastModified;