Browse Source

fix response code detection

nex-php
yggverse 7 months ago
parent
commit
4178bda041
  1. 2
      src/nex.php

2
src/nex.php

@ -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…
Cancel
Save