From fbb436536a0dd7ef7af7a21082678130ca4dd09e Mon Sep 17 00:00:00 2001 From: Jason Gill Date: Tue, 20 Jun 2023 12:20:03 -0400 Subject: [PATCH] Remove forced Accept-Encoding: gzip --- src/Client.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Client.php b/src/Client.php index 98b23da..59b9826 100644 --- a/src/Client.php +++ b/src/Client.php @@ -110,7 +110,6 @@ private function initTransport(Transport $transport, array $config): void if (!isset($config['meta-header']) || $config['meta-header']) { $transport->setElasticMetaHeader('ent', self::VERSION); } - $transport->setHeader('Accept-Encoding', 'gzip'); } /** @@ -185,4 +184,4 @@ private function setAuthentication(Transport $transport, array $config, string $ 'You need to use an authentication method: username and password, token or apiKey' ); } -} \ No newline at end of file +}