diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index 8fae737..6498fcc 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -525,6 +525,7 @@ class HttpClient $this->header['User-Agent'] = $this->agent; } if (!empty($this->header)) { + var_dump($this->header); $client->setHeaders($this->header); } $client->setMethod(strtoupper($this->method)); @@ -535,7 +536,6 @@ class HttpClient } if (!empty($this->_data)) { - var_dump($this->_data); $client->setData($this->_data); } $client->execute($url);