refactor(headers): factor out EntityTag from Etag

Allow use of EntityTag in other headers that use entity tags.

BREAKING CHANGE: for any consumers of the Etag header, since the entity
tag is now in a tuple.
This commit is contained in:
Hugo Duncan
2015-02-06 11:40:30 -05:00
parent c2784bca7a
commit 28fd5c81f5
4 changed files with 166 additions and 71 deletions

View File

@@ -22,7 +22,7 @@ use unicase::UniCase;
use {http, HttpResult, HttpError};
pub use self::shared::{Encoding, QualityItem, qitem};
pub use self::shared::{Encoding, EntityTag, QualityItem, qitem};
pub use self::common::*;
mod common;