From 92550e41968930268a82938c19a42f19fc70712f Mon Sep 17 00:00:00 2001 From: Seth Sharp <58869086+SethSharp@users.noreply.github.com> Date: Thu, 5 Jun 2025 12:16:46 +1000 Subject: [PATCH] add header --- src/OddsClient.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/OddsClient.php b/src/OddsClient.php index bb997a5..fd28eb4 100644 --- a/src/OddsClient.php +++ b/src/OddsClient.php @@ -31,7 +31,8 @@ public function __construct(string $apiKey, $apiEndpoint = null) $this->client = new Client([ 'base_uri' => $this->apiEndpoint, 'headers' => [ - 'Content-Type' => 'application/json' + 'Content-Type' => 'application/json', + 'Accept-Encoding' => 'gzip', ] ]);