Merge pull request #107 from hannobraun/connection
Make Connection usable
This commit is contained in:
@@ -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)]
|
||||||
|
|||||||
Reference in New Issue
Block a user