Skip to content

Commit ca2815e

Browse files
committed
fix(headers): Content-Encoding needs a hyphen.
1 parent 564288e commit ca2815e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/header/common/content_encoding.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ header! {
1616
#[doc="```plain"]
1717
#[doc="Content-Encoding = 1#content-coding"]
1818
#[doc="```"]
19-
(ContentEncoding, "ContentEncoding") => (Encoding)+
19+
(ContentEncoding, "Content-Encoding") => (Encoding)+
2020
}
2121

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

0 commit comments

Comments
 (0)