Tests: added PATH_INFO variable test.

This commit is contained in:
Andrey Zelenkov
2019-07-08 19:23:33 +03:00
parent cc578b2e63
commit 4ea7d71405
2 changed files with 4 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ $body = file_get_contents('php://input');
header('Content-Length: ' . strlen($body));
header('Request-Method: ' . $_SERVER['REQUEST_METHOD']);
header('Request-Uri: ' . $_SERVER['REQUEST_URI']);
header('Path-Info: ' . $_SERVER['PATH_INFO']);
header('Http-Host: ' . $_SERVER['HTTP_HOST']);
header('Server-Protocol: ' . $_SERVER['SERVER_PROTOCOL']);
header('Server-Software: ' . $_SERVER['SERVER_SOFTWARE']);