Skip to content

Commit

Permalink
Merge pull request hyperium#443 from huonw/hyphen
Browse files Browse the repository at this point in the history
The Content-Encoding header needs a hyphen.
  • Loading branch information
reem committed Apr 9, 2015
2 parents 564288e + ca2815e commit 0ccf8e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/header/common/content_encoding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ header! {
#[doc="```plain"]
#[doc="Content-Encoding = 1#content-coding"]
#[doc="```"]
(ContentEncoding, "ContentEncoding") => (Encoding)+
(ContentEncoding, "Content-Encoding") => (Encoding)+
}

bench_header!(single, ContentEncoding, { vec![b"gzip".to_vec()] });
Expand Down

0 comments on commit 0ccf8e4

Please sign in to comment.