Merge pull request #182 from hyperium/client

feat(client): add a new Client struct with super powers
This commit is contained in:
Sean McArthur
2014-12-14 12:02:13 -08:00
13 changed files with 505 additions and 89 deletions

View File

@@ -30,7 +30,7 @@ pub mod common;
///
/// This trait represents the construction and identification of headers,
/// and contains trait-object unsafe methods.
pub trait Header: Any + Send + Sync {
pub trait Header: Clone + Any + Send + Sync {
/// Returns the name of the header field this belongs to.
///
/// The market `Option` is to hint to the type system which implementation