Skip to content

Commit 14269f9

Browse files
committed
bug symfony#28 Fix REQUEST_METHOD on symfony request (csunol)
This PR was merged into the master branch. Discussion ---------- Fix REQUEST_METHOD on symfony request Commits ------- 98ab85a Fix REQUEST_METHOD on symfony request
2 parents 29be4f8 + 98ab85a commit 14269f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Factory/HttpFoundationFactory.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ public function createRequest(ServerRequestInterface $psrRequest)
4343
$server['QUERY_STRING'] = $uri->getQuery();
4444
}
4545

46+
$server['REQUEST_METHOD'] = $psrRequest->getMethod();
47+
4648
$server = array_replace($server, $psrRequest->getServerParams());
4749

4850
$parsedBody = $psrRequest->getParsedBody();

0 commit comments

Comments
 (0)