Skip to content

Navigation Menu

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 98ab85a

Browse filesBrowse files
author
csunolgomez
committed
Fix REQUEST_METHOD on symfony request
1 parent 29be4f8 commit 98ab85a
Copy full SHA for 98ab85a

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.