Skip to content

Commit

Permalink
hopefully last ci style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrm committed Nov 22, 2020
1 parent 1b349ac commit 001a345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Requests.php
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ protected static function parse_response($headers, $url, $req_headers, $req_data
unset($return->headers['transfer-encoding']);
}
if (isset($return->headers['content-encoding'])) {
$compressed_encoding = array_intersect(explode(',', strtolower($return->headers['content-encoding'])), array('gzip', 'x-gzip', 'deflate', 'compress', 'x-compress',));
$compressed_encoding = array_intersect(explode(',', strtolower($return->headers['content-encoding'])), array('gzip', 'x-gzip', 'deflate', 'compress', 'x-compress'));
if (!empty($compressed_encoding)) {
$return->body = self::decompress($return->body);
}
Expand Down

0 comments on commit 001a345

Please sign in to comment.