From 2f9bc2e4c44e207a84c7b2d30eddb1b536430126 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matt=C3=A9o=20D?= Date: Sun, 31 Aug 2014 16:00:42 +0200 Subject: [PATCH] Add call to setUrl in single requests --- src/Curl/Curl.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Curl/Curl.php b/src/Curl/Curl.php index 5a94d08..dc5a77e 100644 --- a/src/Curl/Curl.php +++ b/src/Curl/Curl.php @@ -101,6 +101,7 @@ class Curl $this->exec($ch); } } else { + $this->setUrl($url_mixed); $this->setopt(CURLOPT_URL, $this->buildURL($url_mixed, $data)); $this->setOpt(CURLOPT_CUSTOMREQUEST, 'GET'); $this->setopt(CURLOPT_HTTPGET, true);