summaryrefslogtreecommitdiff
path: root/tests/http/server.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/http/server.php')
-rw-r--r--tests/http/server.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/http/server.php b/tests/http/server.php
deleted file mode 100644
index 393d9623..00000000
--- a/tests/http/server.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']);
-}