Skip to content

Commit

Permalink
fix(headers): Content-Encoding needs a hyphen.
Browse files Browse the repository at this point in the history
  • Loading branch information
huonw committed Apr 9, 2015
1 parent 564288e commit ca2815e
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 ca2815e

Please sign in to comment.