From fdb1d70874c7196e45e39a6b7c1c983a813e10cb Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Sun, 10 Apr 2016 11:47:41 +0100 Subject: [PATCH] Updated header key --- src/ResponseTypes/RedirectResponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ResponseTypes/RedirectResponse.php b/src/ResponseTypes/RedirectResponse.php index d37e58e6..575a49e7 100644 --- a/src/ResponseTypes/RedirectResponse.php +++ b/src/ResponseTypes/RedirectResponse.php @@ -26,6 +26,6 @@ class RedirectResponse extends AbstractResponseType */ public function generateHttpResponse(ResponseInterface $response) { - return $response->withStatus(302)->withHeader('location', $this->redirectUri); + return $response->withStatus(302)->withHeader('Location', $this->redirectUri); } }