Completed
Pull Request — master (#438)
by
unknown
01:23
created
library/Requests.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -676,7 +676,7 @@
 block discarded – undo
676 676
 			$return->body = self::decode_chunked($return->body);
677 677
 			unset($return->headers['transfer-encoding']);
678 678
 		}
679
-		if (isset($return->headers['content-encoding']) && !empty(array_intersect(explode(',', strtolower($return->headers['content-encoding'])), array('gzip','x-gzip','deflate','compress','x-compress')))) {
679
+		if (isset($return->headers['content-encoding']) && !empty(array_intersect(explode(',', strtolower($return->headers['content-encoding'])), array('gzip', 'x-gzip', 'deflate', 'compress', 'x-compress')))) {
680 680
 			$return->body = self::decompress($return->body);
681 681
 		}
682 682
 
Please login to merge, or discard this patch.