mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-30 20:20:53 +00:00
Include option constant that uses the CURLINFO_ prefix
This commit is contained in:
@@ -1961,6 +1961,11 @@ class Curl
|
||||
ARRAY_FILTER_USE_KEY
|
||||
);
|
||||
$curl_const_by_code = array_flip($filtered_array);
|
||||
|
||||
if (!isset($curl_const_by_code[CURLINFO_HEADER_OUT])) {
|
||||
$curl_const_by_code[CURLINFO_HEADER_OUT] = 'CURLINFO_HEADER_OUT';
|
||||
}
|
||||
|
||||
return $curl_const_by_code;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user