Merge pull request #745 from zachborboa/master

Include option constant that uses the CURLINFO_ prefix
This commit is contained in:
Zach Borboa
2022-12-07 13:52:30 -08:00
committed by GitHub
+5
View File
@@ -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;
}