commit | 7b400acea9148e4e0e56dcb414816745bbf82427 | [log] [tgz] |
---|---|---|
author | Sergey Kandaurov <pluknet@nginx.com> | Mon Jun 28 17:13:43 2021 +0300 |
committer | Sergey Kandaurov <pluknet@nginx.com> | Mon Jun 28 17:13:43 2021 +0300 |
tree | 6fedfedecbd7dfc89dd8b51c005ecdc835bf530c | |
parent | 0e8b0945e0dff9337191c0d530039d47303a3917 [diff] |
Tests: updated test for spaces in URI to expect HTTP 400.
diff --git a/http_uri.t b/http_uri.t index 0345536..4df57f9 100644 --- a/http_uri.t +++ b/http_uri.t
@@ -76,6 +76,11 @@ like(http_get('http://localhost:8080?args#frag'), qr!x / x.*y args y!ms, 'port args and frag'); -like(http_get('/ /'), qr!x / / x!, 'space'); +TODO: { +local $TODO = 'not yet'; + +like(http_get('/ /'), qr/400 Bad/, 'space'); + +} ###############################################################################