commit | 84fe70a58a0aa45d08de9ff2a1846d2182ceab8c | [log] [tgz] |
---|---|---|
author | Sergey Kandaurov <pluknet@nginx.com> | Wed Sep 04 15:03:03 2019 +0300 |
committer | Sergey Kandaurov <pluknet@nginx.com> | Wed Sep 04 15:03:03 2019 +0300 |
tree | efa9d2fd56f6d109891321ed43dd79ecfd299d40 | |
parent | 69f2b4620b5f5a43bf7b22492cf8602ade0c151b [diff] |
Tests: adjusted request body tests with invalid chunked body.
diff --git a/body_chunked.t b/body_chunked.t index 32903f4..1520d5b 100644 --- a/body_chunked.t +++ b/body_chunked.t
@@ -152,7 +152,7 @@ qr/400 Bad/, 'runaway chunk' ); -unlike( +like( http( 'GET /discard HTTP/1.1' . CRLF . 'Host: localhost' . CRLF @@ -162,7 +162,7 @@ . 'SEE-THIS' . CRLF . '0' . CRLF . CRLF ), - qr/200 OK/, 'runaway chunk discard' + qr/400 Bad/, 'runaway chunk discard' ); }