1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-10-21 09:23:54 +00:00

return "chnked" value

This commit is contained in:
Alexander Andreev 2018-01-31 21:37:12 +03:00
parent a565e71018
commit a1b96b1cf4

View file

@ -1205,7 +1205,7 @@ mod tests {
// type in chunked
let mut buf = Buffer::new(
"GET /test HTTP/1.1\r\n\
transfer-encoding: chunked\r\n\r\n");
transfer-encoding: chnked\r\n\r\n");
let req = parse_ready!(&mut buf);
if let Ok(val) = req.chunked() {