1
0
Fork 0

Update user-agent to use cURL instead of curl, fixes #9492

pull/9508/head
Jordi Boggiano 2020-11-18 21:26:32 +01:00
parent 4ac6f57d18
commit 6937fedaa9
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -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';
} }