|
@@ -641,7 +641,7 @@ class Zend_Http_Response
|
|
|
* @link http://framework.zend.com/issues/browse/ZF-6040
|
|
* @link http://framework.zend.com/issues/browse/ZF-6040
|
|
|
*/
|
|
*/
|
|
|
$zlibHeader = unpack('n', substr($body, 0, 2));
|
|
$zlibHeader = unpack('n', substr($body, 0, 2));
|
|
|
- if ($zlibHeader[1] % 31 == 0 && ord($body[0]) == 0x78 && in_array(ord($body[1]), array(0x01, 0x5e, 0x9c, 0xda)) {
|
|
|
|
|
|
|
+ if ($zlibHeader[1] % 31 == 0 && ord($body[0]) == 0x78 && in_array(ord($body[1]), array(0x01, 0x5e, 0x9c, 0xda))) {
|
|
|
return gzuncompress($body);
|
|
return gzuncompress($body);
|
|
|
} else {
|
|
} else {
|
|
|
return gzinflate($body);
|
|
return gzinflate($body);
|