From 00da068b53855638d88f58e53447252ea5be5190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 24 Dec 2021 14:16:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/AsyncClient.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/AsyncClient.php b/src/AsyncClient.php index 8c4894b..ea9f1a1 100644 --- a/src/AsyncClient.php +++ b/src/AsyncClient.php @@ -126,6 +126,9 @@ class AsyncClient extends ClientAbstracts if ($this->getResponseHeader('Transfer-Encoding') == 'chunked') { $explode = explode("\r\n\r\n", str_replace("0\r\n\r\n", '', $body)); + + var_dump($explode); + $string = []; foreach ($explode as $value) { $string[] = explode("\r\n", $value)[1];