Merge pull request #19826 from liviuconcioiu/deprecation

Fix $http_response_header deprecation
This commit is contained in:
Maurício Meneghini Fauth 2025-08-26 15:09:13 -03:00 committed by GitHub
commit c01413bcde
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -267,6 +267,10 @@ class HttpRequest
stream_context_create($context)
);
if (function_exists('http_get_last_response_headers')) {
$http_response_header = http_get_last_response_headers();
}
if (! isset($http_response_header)) {
return null;
}