diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index 9eb1c9f..ea4cab1 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -784,6 +784,7 @@ class HttpClient return $body; } $type = isset($data['content-type']) ? $data['content-type'] : (isset($data['Content-Type']) ? $data['Content-Type'] : 'text/html'); + var_dump($type, $body); if (strpos($type, 'text/html') !== false) { return $body; } else if (strpos($type, 'json') !== false) {