summaryrefslogtreecommitdiff
path: root/test/it_url.testserver.php
diff options
context:
space:
mode:
Diffstat (limited to 'test/it_url.testserver.php')
-rw-r--r--test/it_url.testserver.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/it_url.testserver.php b/test/it_url.testserver.php
index 530a505..64e6674 100644
--- a/test/it_url.testserver.php
+++ b/test/it_url.testserver.php
@@ -65,6 +65,10 @@ switch ($_SERVER['PHP_SELF'])
echo $_REQUEST['string'];
break;
+ case "/empty":
+ http_response_code(204);
+ break;
+
default:
http_response_code(404);
fwrite($stderr, "Unknown path '$_SERVER[PHP_SELF]' not handled!\n");