add clear
This commit is contained in:
@@ -581,6 +581,9 @@ class HttpClient
|
|||||||
} else if (isset($this->header['content-type'])) {
|
} else if (isset($this->header['content-type'])) {
|
||||||
$contentType = $this->header['content-type'];
|
$contentType = $this->header['content-type'];
|
||||||
}
|
}
|
||||||
|
if ($contentType == 'multipart/form-data') {
|
||||||
|
return $data;
|
||||||
|
}
|
||||||
|
|
||||||
if (strpos($contentType, 'json') !== false) {
|
if (strpos($contentType, 'json') !== false) {
|
||||||
return Help::toJson($data);
|
return Help::toJson($data);
|
||||||
|
|||||||
Reference in New Issue
Block a user