# HG changeset patch # User Sergey Kandaurov # Date 1624889623 -10800 # Node ID 9c79f41fdf9b637398521583eaab07e788e5f923 # Parent 99a9b8b50f21c29788c3cac85f54b210ac24dfee Tests: updated test for spaces in URI to expect HTTP 400. diff --git a/http_uri.t b/http_uri.t --- a/http_uri.t +++ b/http_uri.t @@ -76,6 +76,11 @@ like(http_get('http://localhost:8080?arg 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'); + +} ###############################################################################