Merge pull request #165 from hyperium/expires

Adds CacheControl, Expires, and LastModified headers
This commit is contained in:
Sean McArthur
2014-12-02 21:22:32 -08:00
7 changed files with 309 additions and 44 deletions

View File

@@ -8,12 +8,15 @@
pub use self::accept::Accept;
pub use self::authorization::Authorization;
pub use self::cache_control::CacheControl;
pub use self::cookie::Cookies;
pub use self::connection::Connection;
pub use self::content_length::ContentLength;
pub use self::content_type::ContentType;
pub use self::date::Date;
pub use self::expires::Expires;
pub use self::host::Host;
pub use self::last_modified::LastModified;
pub use self::location::Location;
pub use self::transfer_encoding::TransferEncoding;
pub use self::upgrade::Upgrade;
@@ -72,6 +75,9 @@ pub mod accept;
/// Exposes the Authorization header.
pub mod authorization;
/// Exposes the CacheControl header.
pub mod cache_control;
/// Exposes the Cookie header.
pub mod cookie;
@@ -87,9 +93,15 @@ pub mod content_type;
/// Exposes the Date header.
pub mod date;
/// Exposes the Expires header.
pub mod expires;
/// Exposes the Host header.
pub mod host;
/// Exposes the LastModified header.
pub mod last_modified;
/// Exposes the Location header.
pub mod location;