1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
//! HTTP Content headers.

//!

//! These headers are used for "content negotiation": the client shares information

//! about which content it prefers, and the server responds by sharing which

//! content it's chosen to share. This enables clients to receive resources with the

//! best available compression, in the preferred language, and more.


pub mod accept_encoding;
pub mod content_encoding;

mod encoding;
mod encoding_proposal;

#[doc(inline)]
pub use accept_encoding::AcceptEncoding;
#[doc(inline)]
pub use content_encoding::ContentEncoding;
pub use encoding::Encoding;
pub use encoding_proposal::EncodingProposal;