Mercurial > hg > nginx-tests
changeset 1502:5ae8e8feac36
Tests: adjusted request body tests with invalid chunked body.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 04 Sep 2019 15:03:03 +0300 |
parents | 91235919d80f |
children | 06fbbf1706bd |
files | body_chunked.t |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/body_chunked.t Tue Sep 03 18:50:56 2019 +0300 +++ b/body_chunked.t Wed Sep 04 15:03:03 2019 +0300 @@ -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' ); }