diff options
author | Valery Piashchynski <[email protected]> | 2020-02-07 15:52:57 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-02-07 15:52:57 +0300 |
commit | 785e58f8bea7eb9052babc1dd0e94859328728e5 (patch) | |
tree | 8e301f947211d0a515f79d2b33e85598eb11766c /tests | |
parent | 1f9a12a7b3ab745ee39afe2bbc4a19d21fbe7d91 (diff) |
Update README.md (remove travis, replace with github actions)
Fix innefectual usage of maps
Update headers (canonical usage)
Add golangci-lint check to github actions and go 1.13
Diffstat (limited to 'tests')
-rw-r--r-- | tests/http/push.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/http/push.php b/tests/http/push.php index efe9eeda..d88fc076 100644 --- a/tests/http/push.php +++ b/tests/http/push.php @@ -6,5 +6,5 @@ use \Psr\Http\Message\ResponseInterface; function handleRequest(ServerRequestInterface $req, ResponseInterface $resp): ResponseInterface { $resp->getBody()->write(strtoupper($req->getQueryParams()['hello'])); - return $resp->withAddedHeader("http2-push", __FILE__)->withStatus(201); + return $resp->withAddedHeader("Http2-Push", __FILE__)->withStatus(201); } |