Skip to content

Commit

Permalink
fix(headers): make Schemes, Basic, Protocol public
Browse files Browse the repository at this point in the history
Expose Authorization header Scheme trait and Basic authorization
Expose the Upgrade header Protocol
  • Loading branch information
cyderize committed Jan 22, 2015
1 parent 50a23e0 commit e43c35c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/header/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ pub use self::access_control::*;
pub use self::accept::Accept;
pub use self::accept_encoding::AcceptEncoding;
pub use self::allow::Allow;
pub use self::authorization::Authorization;
pub use self::authorization::{Authorization, Scheme, Basic};
pub use self::cache_control::{CacheControl, CacheDirective};
pub use self::connection::Connection;
pub use self::connection::{Connection, ConnectionOption};
pub use self::content_length::ContentLength;
pub use self::content_type::ContentType;
pub use self::cookie::Cookies;
Expand All @@ -27,12 +27,10 @@ pub use self::referer::Referer;
pub use self::server::Server;
pub use self::set_cookie::SetCookie;
pub use self::transfer_encoding::TransferEncoding;
pub use self::upgrade::Upgrade;
pub use self::upgrade::{Upgrade, Protocol};
pub use self::user_agent::UserAgent;
pub use self::vary::Vary;

pub use self::connection::ConnectionOption;

#[macro_export]
macro_rules! bench_header(
($name:ident, $ty:ty, $value:expr) => {
Expand Down

0 comments on commit e43c35c

Please sign in to comment.