diff --git a/composer.json b/composer.json index 0a76cf6..1e30b3f 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "require": { "php": ">=5.6.4", "illuminate/support": "*", - "tolerance/tolerance": "^0.3.3" + "tolerance/tolerance": "dev-master" }, "require-dev": { diff --git a/src/Vinelab/Http/Request.php b/src/Vinelab/Http/Request.php index 3e672a9..121818b 100644 --- a/src/Vinelab/Http/Request.php +++ b/src/Vinelab/Http/Request.php @@ -177,6 +177,8 @@ public function send() CURLOPT_MAXREDIRS => $this->maxRedirects, CURLOPT_TIMEOUT => $this->timeout, CURLOPT_RETURNTRANSFER => true, + CURLOPT_SSL_VERIFYPEER=>false, + CURLOPT_SSL_VERIFYHOST=>false ); //digest auth support