We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b85560 commit 8a422c5Copy full SHA for 8a422c5
lib/Github/HttpClient/HttpClient.php
@@ -3,6 +3,7 @@
3
namespace Github\HttpClient;
4
5
use Buzz\Browser;
6
+use Buzz\Client\Curl;
7
use Buzz\Message\Response;
8
9
/**
@@ -54,7 +55,7 @@ class HttpClient implements HttpClientInterface
54
55
public function __construct(array $options = array(), Browser $browser = null)
56
{
57
$this->options = array_merge($this->options, $options);
- $this->browser = $browser ?: new Browser();
58
+ $this->browser = $browser ?: new Browser(new Curl());
59
60
$this->browser->getClient()->setTimeout($this->options['timeout']);
61
$this->browser->getClient()->setVerifyPeer(false);
0 commit comments