From 3dabbbd5325c9fad9582cd44b1da68dece78eaa0 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 21 Jun 2018 16:42:32 +0200 Subject: no reason for different naming --- tests/it_url.testserver.php | 71 --------------------------------------------- 1 file changed, 71 deletions(-) delete mode 100644 tests/it_url.testserver.php (limited to 'tests/it_url.testserver.php') diff --git a/tests/it_url.testserver.php b/tests/it_url.testserver.php deleted file mode 100644 index 9f04b48..0000000 --- a/tests/it_url.testserver.php +++ /dev/null @@ -1,71 +0,0 @@ - 0) - header("Location: $base/redirect_loop?num=" . ($_REQUEST['num'] - 1), true, 303); - break; - - case "/nohost_redirect": - header('Location: /redirect_target?type=nohost', true, 301); - exit; - - case "/relative_redirect": - header('Location: ../redirect_target?type=relative', true, 301); - exit; - - case "/redirect_target": - echo 'Testserver output after ' . $_REQUEST['type'] . ' redirect'; - break; - - case "/long_sleep": - sleep(6); - echo 'Testserver output after long sleep'; - break; - - case "/short_sleep": - sleep(4); - echo 'Testserver output after short sleep'; - break; - - case "/slow_response": - for ($i = 0; $i < 6; $i++) { - sleep(1); - echo "Testserver slow output $i\n"; - } - break; - - case "/get_server_value": - echo $_SERVER[$_REQUEST['key']]; - break; - - case "/repeat": - for ($i = 0; $i < $_REQUEST['num']; $i++) - echo $_REQUEST['string']; - break; - - default: - http_response_code(404); - fwrite($stderr, "Unknown path '$_SERVER[PHP_SELF]' not handled!\n"); -} -- cgit v1.2.3