mirror of
https://github.com/YGGverse/next.git
synced 2026-03-31 17:55:34 +00:00
fix response code detection
This commit is contained in:
parent
6a85e9641b
commit
4178bda041
1 changed files with 1 additions and 1 deletions
|
|
@ -335,7 +335,7 @@ $server->start(
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
(string) date('c'),
|
(string) date('c'),
|
||||||
(string) (int) !empty($response),
|
(string) (int) is_string($response),
|
||||||
(string) parse_url($url, PHP_URL_HOST),
|
(string) parse_url($url, PHP_URL_HOST),
|
||||||
(string) parse_url($url, PHP_URL_PORT),
|
(string) parse_url($url, PHP_URL_PORT),
|
||||||
(string) str_replace('%', '%%', empty($request) ? '/' : $request),
|
(string) str_replace('%', '%%', empty($request) ? '/' : $request),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue