mirror of https://github.com/fafhrd91/actix-web
fix test
This commit is contained in:
parent
e292a2b519
commit
1c410ad8c7
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue