From a1b96b1cf453a75cf3a02e38ca5bfce682778730 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Wed, 31 Jan 2018 21:37:12 +0300 Subject: [PATCH] return "chnked" value --- src/server/h1.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/h1.rs b/src/server/h1.rs index 32c0cc12..b039b09e 100644 --- a/src/server/h1.rs +++ b/src/server/h1.rs @@ -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() {