Mercurial > hg > nginx-tests
comparison http_uri.t @ 1706:9c79f41fdf9b
Tests: updated test for spaces in URI to expect HTTP 400.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 28 Jun 2021 17:13:43 +0300 |
parents | 5ac6efbe5552 |
children | 9fac05e479fa |
comparison
equal
deleted
inserted
replaced
1705:99a9b8b50f21 | 1706:9c79f41fdf9b |
---|---|
74 like(http_get('http://localhost:8080?args'), qr!x / x.*y args y!ms, | 74 like(http_get('http://localhost:8080?args'), qr!x / x.*y args y!ms, |
75 'port args'); | 75 'port args'); |
76 like(http_get('http://localhost:8080?args#frag'), qr!x / x.*y args y!ms, | 76 like(http_get('http://localhost:8080?args#frag'), qr!x / x.*y args y!ms, |
77 'port args and frag'); | 77 'port args and frag'); |
78 | 78 |
79 like(http_get('/ /'), qr!x / / x!, 'space'); | 79 TODO: { |
80 local $TODO = 'not yet'; | |
81 | |
82 like(http_get('/ /'), qr/400 Bad/, 'space'); | |
83 | |
84 } | |
80 | 85 |
81 ############################################################################### | 86 ############################################################################### |