diff --git a/src/AsyncClient.php b/src/AsyncClient.php index 01907ad..c0b23d2 100644 --- a/src/AsyncClient.php +++ b/src/AsyncClient.php @@ -92,6 +92,8 @@ class AsyncClient extends ClientAbstracts $content = $this->getData()->getContents(); + $this->withAddedHeader('Accept', ' text/html,application/xhtml+xml,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, deflate'); $this->withAddedHeader('Content-Length', $this->getData()->getSize()); $array = [];