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', ] ]);