Merge pull request #107 from hannobraun/connection

Make Connection usable
This commit is contained in:
Sean McArthur
2014-11-08 20:24:33 -08:00

View File

@@ -5,7 +5,7 @@ use std::from_str::FromStr;
/// The `Connection` header. /// The `Connection` header.
#[deriving(Clone, PartialEq, Show)] #[deriving(Clone, PartialEq, Show)]
pub struct Connection(Vec<ConnectionOption>); pub struct Connection(pub Vec<ConnectionOption>);
/// Values that can be in the `Connection` header. /// Values that can be in the `Connection` header.
#[deriving(Clone, PartialEq)] #[deriving(Clone, PartialEq)]