add clear
This commit is contained in:
@@ -683,6 +683,8 @@ class HttpClient
|
||||
|
||||
if ($this->method != self::GET && !empty($this->_data)) {
|
||||
$this->_data = $this->mergeParams($data);
|
||||
} else {
|
||||
$this->_data = $data;
|
||||
}
|
||||
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, strtoupper($this->method));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user