From 35dbf89715a56fe976b0bb5714b00e7b94748895 Mon Sep 17 00:00:00 2001 From: Nathan Gass Date: Mon, 15 Oct 2012 17:58:13 +0000 Subject: test basic request headers --- tests/it_url.testserver.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/it_url.testserver.php') diff --git a/tests/it_url.testserver.php b/tests/it_url.testserver.php index 22dc14b..fe90fcb 100644 --- a/tests/it_url.testserver.php +++ b/tests/it_url.testserver.php @@ -51,6 +51,10 @@ switch ($_SERVER['PHP_SELF']) } break; + case "/get_server_value": + echo $_SERVER[$_REQUEST['key']]; + break; + default: fwrite($stderr, "Unknown path '$_SERVER[PHP_SELF]' not handled!\n"); } -- cgit v1.2.3