From a81e9d49f76584f910a334271d288231a1e6da45 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 15 Oct 2009 19:13:17 +0200 Subject: [PATCH] accept case-insensitive transfer encoding header --- http_parser.rl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_parser.rl b/http_parser.rl index 878fb44..e9d014a 100644 --- a/http_parser.rl +++ b/http_parser.rl @@ -367,7 +367,7 @@ do { \ | "close"i %set_not_keep_alive ) ) - | ("Transfer-Encoding" hsep "chunked"i %use_chunked_encoding) + | ("Transfer-Encoding"i hsep "chunked"i %use_chunked_encoding) | (Field_Name hsep Field_Value) ) :> CRLF;