diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/PSR7Client.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/PSR7Client.php b/src/PSR7Client.php index 5b9425d6..cb3b7a7b 100644 --- a/src/PSR7Client.php +++ b/src/PSR7Client.php @@ -132,6 +132,8 @@ class PSR7Client protected function configureServer(array $ctx): array { $server = $this->originalServer; + + $server['REQUEST_URI'] = $rawRequest['ctx']['uri']; $server['REQUEST_TIME'] = time(); $server['REQUEST_TIME_FLOAT'] = microtime(true); $server['REMOTE_ADDR'] = $ctx['attributes']['ipAddress'] ?? $ctx['remoteAddr'] ?? '127.0.0.1'; |