Skip to content

Commit a19688e

Browse files
author
shokohsc
committed
added compression header
1 parent a5815ad commit a19688e

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)