Skip to content

Commit

Permalink
Turn on cURL's compression option.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismeller committed Nov 23, 2011
1 parent 5166954 commit 3687139
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions classes/curlrequestprocessor.php
Expand Up @@ -41,6 +41,7 @@ public function execute( $method, $url, $headers, $body, $config )
CURLOPT_BUFFERSIZE => $config['buffer_size'],
CURLOPT_HTTPHEADER => $merged_headers, // headers to send
CURLOPT_FAILONERROR => true, // if the status code is >= 400, fail
CURLOPT_ENCODING => '', // let curl decide which compression methods to use
);

if ( $this->can_followlocation && $config['follow_redirects'] ) {
Expand Down

0 comments on commit 3687139

Please sign in to comment.