add clear
This commit is contained in:
@@ -475,6 +475,8 @@ class HttpClient
|
||||
if (!empty($this->_data)) {
|
||||
$client->setData($this->_data);
|
||||
}
|
||||
|
||||
$url = ltrim($url, '/');
|
||||
if (strtolower($this->method) == self::GET) {
|
||||
if (!empty($data)) {
|
||||
$url .= '?' . $data;
|
||||
|
||||
Reference in New Issue
Block a user