mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-30 18:44:35 +01:00
return "chnked" value
This commit is contained in:
parent
a565e71018
commit
a1b96b1cf4
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user