Skip to content

Commit f25b2d4

Browse files
authored
add gzip header (#8)
1 parent c9f6a72 commit f25b2d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/OddsClient.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ public function __construct(string $apiKey, $apiEndpoint = null)
3131
$this->client = new Client([
3232
'base_uri' => $this->apiEndpoint,
3333
'headers' => [
34-
'Content-Type' => 'application/json'
34+
'Content-Type' => 'application/json',
35+
'Accept-Encoding' => 'gzip',
3536
]
3637
]);
3738

0 commit comments

Comments
 (0)