From d943b2ebc203a8464f21f882f3c9c6dab03411bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Tue, 11 Jan 2022 14:44:37 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=94=B9=E5=90=8D"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit fdf58326 --- AsyncClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AsyncClient.php b/AsyncClient.php index 11ddb83..78ae54a 100644 --- a/AsyncClient.php +++ b/AsyncClient.php @@ -89,7 +89,7 @@ class AsyncClient extends ClientAbstracts $path = $this->setParams($path, $data); $this->withAddedHeader('Accept', ' text/html,application/xhtml+xml,application/json,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9'); - $this->withAddedHeader('Accept-Encoding', 'gzip'); +// $this->withAddedHeader('Accept-Encoding', 'gzip'); $this->withAddedHeader('Content-Length', $this->getData()->getSize()); $this->execute($path, $this->getData()->getContents());