summaryrefslogtreecommitdiff
path: root/php-src/tests/http/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'php-src/tests/http/header.php')
-rw-r--r--php-src/tests/http/header.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/php-src/tests/http/header.php b/php-src/tests/http/header.php
deleted file mode 100644
index e5b295b6..00000000
--- a/php-src/tests/http/header.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-
-use Psr\Http\Message\ResponseInterface;
-use Psr\Http\Message\ServerRequestInterface;
-
-function handleRequest(ServerRequestInterface $req, ResponseInterface $resp): ResponseInterface
-{
- $resp->getBody()->write(strtoupper($req->getHeaderLine('input')));
-
- return $resp->withAddedHeader("Header", $req->getQueryParams()['hello']);
-} \ No newline at end of file