Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 14269f9

Browse filesBrowse 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
Copy full SHA for 14269f9

File tree

1 file changed

+2
-0
lines changed
Filter options

1 file changed

+2
-0
lines changed

‎Factory/HttpFoundationFactory.php

Copy file name to clipboardExpand all lines: Factory/HttpFoundationFactory.php
+2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.