Ticket #4779: 4779.r8572.diff
File 4779.r8572.diff, 542 bytes (added by , 16 years ago) |
---|
-
http.php
797 797 list($theHeaders, $theBody) = explode("\r\n\r\n", $strResponse, 2); 798 798 $theHeaders = WP_Http::processHeaders($theHeaders); 799 799 800 if ( ! empty($theBody))800 if ( ! empty( $theBody ) && isset( $theHeaders['headers']['transfer-encoding'] ) && 'chunked' == $theHeaders['headers']['transfer-encoding'] ) 801 801 $theBody = http_chunked_decode($theBody); 802 802 803 803 $theResponse = array();