改名
This commit is contained in:
@@ -424,6 +424,9 @@ class Request extends HttpService
|
||||
{
|
||||
$request->header = array_merge($request->header, $request->server);
|
||||
|
||||
$request_uri = explode('/', $request->header['request_uri']);
|
||||
$request->header['request_uri'] = '/' . implode('/', array_filter($request_uri));
|
||||
|
||||
Context::setContext(\Swoole\Http\Request::class, $request);
|
||||
|
||||
Context::setContext(Response::class, new Response());
|
||||
|
||||
Reference in New Issue
Block a user