diff options
author | Urban Müller | 2024-04-18 18:17:42 +0200 |
---|---|---|
committer | Urban Müller | 2024-04-18 18:17:42 +0200 |
commit | 2946cad416b247327c033f61fda8270c6771248b (patch) | |
tree | e0ad6af34cc7d3c8c11e65dd637cac6284c91d79 /test/it_url.testserver.php | |
parent | 543b7b80cd17dd633f3bd961a358d509070aeabf (diff) | |
download | itools-2946cad416b247327c033f61fda8270c6771248b.tar.gz itools-2946cad416b247327c033f61fda8270c6771248b.tar.bz2 itools-2946cad416b247327c033f61fda8270c6771248b.zip |
introduce empty_on_fail, get keepfailed to work
Diffstat (limited to 'test/it_url.testserver.php')
-rw-r--r-- | test/it_url.testserver.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/it_url.testserver.php b/test/it_url.testserver.php index 978e4af..ca5300c 100644 --- a/test/it_url.testserver.php +++ b/test/it_url.testserver.php @@ -80,6 +80,11 @@ switch ($_SERVER['PHP_SELF']) echo $iserror ? "failure" : "success"; break; + case "/not_found_with_body": + http_response_code(404); + echo 'Testserver 404 output'; + break; + default: http_response_code(404); fwrite($stderr, "Unknown path '$_SERVER[PHP_SELF]' not handled!\n"); |