4
use Test::Nginx::Socket::Chunkin;
6
plan tests => repeat_each() * 2 * blocks();
14
=== TEST 1: bad ext (missing leading ;)
21
Transfer-Encoding: chunked
29
--- response_body_like: 400 Bad Request
41
Transfer-Encoding: chunked
49
--- response_body: abc
53
=== TEST 3: with spaces
60
Transfer-Encoding: chunked
68
--- response_body: abc
72
=== TEST 4: ext with out val
79
Transfer-Encoding: chunked
87
--- response_body: abc
91
=== TEST 5: multiple exts
98
Transfer-Encoding: chunked
101
3 ;\t foo = bar; blah = ".'"hello\\\"!"'."\t \r
106
--- response_body: abc