add clear
This commit is contained in:
@@ -528,6 +528,7 @@ class HttpClient
|
|||||||
return $body;
|
return $body;
|
||||||
}
|
}
|
||||||
$type = $data['content-type'];
|
$type = $data['content-type'];
|
||||||
|
var_dump($body, $type);
|
||||||
if (strpos($type, 'text/html') !== false) {
|
if (strpos($type, 'text/html') !== false) {
|
||||||
return $body;
|
return $body;
|
||||||
} else if (strpos($type, 'json') !== false) {
|
} else if (strpos($type, 'json') !== false) {
|
||||||
|
|||||||
Reference in New Issue
Block a user