diff --git a/src/AsyncClient.php b/src/AsyncClient.php index f39acb9..d0dfa6d 100644 --- a/src/AsyncClient.php +++ b/src/AsyncClient.php @@ -114,11 +114,12 @@ class AsyncClient extends ClientAbstracts } } $this->client->send(implode("\r\n", $array) . "\r\n\r\n" . $content); - $revice = gzdecode($this->client->recv()); - var_dump(implode("\r\n", $array) . "\r\n\r\n" . $revice); + $revice = $this->client->recv(); [$header, $body] = explode("\r\n\r\n", $revice); + var_dump($body); + $header = explode("\r\n", $header); $status = array_shift($header);