We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6273556 commit eac505bCopy full SHA for eac505b
src/server/decode.rs
@@ -77,7 +77,7 @@ where
77
req.set_version(Some(http_types::Version::Http1_1));
78
79
for header in httparse_req.headers.iter() {
80
- req.insert_header(header.name, std::str::from_utf8(header.value)?);
+ req.append_header(header.name, std::str::from_utf8(header.value)?);
81
}
82
83
let content_length = req.header(CONTENT_LENGTH);
0 commit comments