This commit is contained in:
Rob Ede 2022-06-27 04:20:36 +01:00
parent e292a2b519
commit 1c410ad8c7
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
1 changed files with 2 additions and 2 deletions

View File

@ -1031,7 +1031,7 @@ mod tests {
#[test]
fn hrs_te_http10() {
// in HTTP/1.0 transfer encoding is ignored so body is read as raw chunked payload
// in HTTP/1.0 transfer encoding is ignored and must therefore contain a CL header
let mut buf = BytesMut::from(
"GET / HTTP/1.0\r\n\
@ -1044,7 +1044,7 @@ mod tests {
",
);
parse_ready!(&mut buf);
expect_parse_err!(&mut buf);
}
#[test]