diff options
author | Nathan Gass | 2012-10-15 17:58:13 +0000 |
---|---|---|
committer | Nathan Gass | 2012-10-15 17:58:13 +0000 |
commit | 35dbf89715a56fe976b0bb5714b00e7b94748895 (patch) | |
tree | 12cb82b067fc7ec67bb7ca5c2b2718cc41cffcb6 /tests/it_url.testserver.php | |
parent | 6cca63fafdfa80bcc1e56e1e91b1b2492b34e018 (diff) | |
download | itools-35dbf89715a56fe976b0bb5714b00e7b94748895.tar.gz itools-35dbf89715a56fe976b0bb5714b00e7b94748895.tar.bz2 itools-35dbf89715a56fe976b0bb5714b00e7b94748895.zip |
test basic request headers
Diffstat (limited to 'tests/it_url.testserver.php')
-rw-r--r-- | tests/it_url.testserver.php | 4 |
1 files changed, 4 insertions, 0 deletions
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"); } |