Skip to content

Commit 28c5605

Browse files
author
Michael Livshin
committed
port fossar#1487 to 2.19
1 parent 3858ad4 commit 28c5605

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/helpers/WebClient.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ public function getHttpClient() {
6666
],
6767
'handler' => $stack,
6868
'timeout' => 60, // seconds
69+
'curl' => [
70+
// Try the best authentication method when credentials are given.
71+
\CURLOPT_HTTPAUTH => \CURLAUTH_ANY,
72+
],
6973
]);
7074

7175
$this->httpClient = $httpClient;

0 commit comments

Comments
 (0)