add clear
This commit is contained in:
@@ -352,7 +352,7 @@ class HttpClient
|
||||
echo $host . ':' . $this->getHostPort() . ' ' . $url . '?' . $data;
|
||||
$client->get($url . '?' . $data);
|
||||
} else if (strtolower($this->method) == self::PUT) {
|
||||
$client->setMethod('PUT');
|
||||
$client->setMethod('put');
|
||||
if (!is_string($data)) {
|
||||
$data = json_encode($data, JSON_UNESCAPED_UNICODE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user