add clear
This commit is contained in:
@@ -401,8 +401,10 @@ class HttpClient
|
||||
if (!empty($this->_data)) {
|
||||
$client->setData($this->_data);
|
||||
}
|
||||
var_dump($client, $url . '?' . $data);
|
||||
$client->get($url . '?' . $data);
|
||||
if (!empty($data)) {
|
||||
$url .= '?' . $data;
|
||||
}
|
||||
$client->get($url);
|
||||
} else if (strtolower($this->method) == self::PUT) {
|
||||
$client->setMethod('PUT');
|
||||
if (!is_string($data)) {
|
||||
|
||||
Reference in New Issue
Block a user