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