Update user-agent to use cURL instead of curl, fixes #9492
parent
4ac6f57d18
commit
6937fedaa9
|
@ -106,7 +106,7 @@ final class StreamContextFactory
|
||||||
|
|
||||||
if ($forCurl) {
|
if ($forCurl) {
|
||||||
$curl = curl_version();
|
$curl = curl_version();
|
||||||
$httpVersion = 'curl '.$curl['version'];
|
$httpVersion = 'cURL '.$curl['version'];
|
||||||
} else {
|
} else {
|
||||||
$httpVersion = 'streams';
|
$httpVersion = 'streams';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue