Skip to content

Commit

Permalink
Responses are GZIPed
Browse files Browse the repository at this point in the history
  • Loading branch information
mroloux committed Feb 8, 2018
1 parent e3b4216 commit 069cb0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SeatsioClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ public function __construct($secretKey, $baseUrl = 'https://api.seats.io/')
'base_uri' => $baseUrl,
'auth' => [$secretKey, null],
'http_errors' => false,
'handler' => $stack
'handler' => $stack,
'headers' => ['Accept-Encoding' => 'gzip']
]);
}

Expand Down

0 comments on commit 069cb0b

Please sign in to comment.