This commit is contained in:
2021-07-27 16:41:51 +08:00
parent 1991550f49
commit d556fb11c4
2 changed files with 0 additions and 5 deletions
-2
View File
@@ -459,10 +459,8 @@ class Request extends HttpService
if (!empty($request->post)) {
$sRequest->params->setPosts($request->post ?? []);
}
Context::setContext(HttpParams::class, $sRequest->params);
$sRequest->headers = new HttpHeaders(array_merge($request->server, $request->header));
Context::setContext(HttpHeaders::class, $sRequest->headers);
$sRequest->uri = $sRequest->headers->get('request_uri');