summaryrefslogtreecommitdiff
path: root/tests/http/user-agent.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/http/user-agent.php')
-rw-r--r--tests/http/user-agent.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/http/user-agent.php b/tests/http/user-agent.php
deleted file mode 100644
index 03d7a2c8..00000000
--- a/tests/http/user-agent.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-
-use Psr\Http\Message\ResponseInterface;
-use Psr\Http\Message\ServerRequestInterface;
-
-function handleRequest(ServerRequestInterface $req, ResponseInterface $resp): ResponseInterface
-{
- $resp->getBody()->write($_SERVER['HTTP_USER_AGENT']);
- return $resp;
-}