Skip to content

Commit b619838

Browse files
committed
Merge pull request #3 from shokohsc/compression_header
added compression header
2 parents a5815ad + a19688e commit b619838

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Chadicus/Marvel/Api/CurlAdapter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public function send(Request $request)
3333
CURLOPT_HEADER => true,
3434
CURLOPT_FORBID_REUSE => true,
3535
CURLOPT_HTTPHEADER => $curlHeaders,
36+
CURLOPT_ENCODING => 'gzip,deflate',
3637
);
3738

3839
if (strtoupper($request->getMethod()) !== 'GET') {

0 commit comments

Comments
 (0)