1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-24 16:02:59 +01: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 // type in chunked
let mut buf = Buffer::new( let mut buf = Buffer::new(
"GET /test HTTP/1.1\r\n\ "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); let req = parse_ready!(&mut buf);
if let Ok(val) = req.chunked() { if let Ok(val) = req.chunked() {