Skip to content

Commit

Permalink
Merge pull request #3 from shokohsc/compression_header
Browse files Browse the repository at this point in the history
added compression header
  • Loading branch information
chadicus committed Dec 15, 2014
2 parents a5815ad + a19688e commit b619838
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Chadicus/Marvel/Api/CurlAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public function send(Request $request)
CURLOPT_HEADER => true,
CURLOPT_FORBID_REUSE => true,
CURLOPT_HTTPHEADER => $curlHeaders,
CURLOPT_ENCODING => 'gzip,deflate',
);

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

0 comments on commit b619838

Please # to comment.