diff options
Diffstat (limited to 'src/PSR7Client.php')
-rw-r--r-- | src/PSR7Client.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/PSR7Client.php b/src/PSR7Client.php index 4250e6b9..7393848a 100644 --- a/src/PSR7Client.php +++ b/src/PSR7Client.php @@ -138,6 +138,7 @@ class PSR7Client $server['REQUEST_TIME'] = time(); $server['REQUEST_TIME_FLOAT'] = microtime(true); $server['REMOTE_ADDR'] = $ctx['attributes']['ipAddress'] ?? $ctx['remoteAddr'] ?? '127.0.0.1'; + $server['REQUEST_METHOD'] = $ctx['method']; $server['HTTP_USER_AGENT'] = ''; foreach ($ctx['headers'] as $key => $value) { |