Merge branch 'PHP-8.2' into PHP-8.3

This commit is contained in:
Jakub Zelenka 2024-11-20 11:12:19 +01:00
commit ffff27f734
No known key found for this signature in database
GPG key ID: 1C0779DC5C0A9DE4
31 changed files with 2054 additions and 39 deletions

View file

@ -1954,6 +1954,8 @@ static void php_cli_server_client_populate_request_info(const php_cli_server_cli
request_info->auth_user = request_info->auth_password = request_info->auth_digest = NULL;
if (NULL != (val = zend_hash_str_find(&client->request.headers, "content-type", sizeof("content-type")-1))) {
request_info->content_type = Z_STRVAL_P(val);
} else {
request_info->content_type = NULL;
}
} /* }}} */