Ticket #4779: 4779.r8557.diff
File 4779.r8557.diff, 571 bytes (added by , 16 years ago) |
---|
-
http.php
796 796 797 797 list($theHeaders, $theBody) = explode("\r\n\r\n", $strResponse, 2); 798 798 $theHeaders = WP_Http::processHeaders($theHeaders); 799 $theBody = http_chunked_decode($theBody);800 799 800 if ( !empty($theBody) ) 801 $theBody = http_chunked_decode($theBody); 802 801 803 $theResponse = array(); 802 804 $theResponse['code'] = $info['response_code']; 803 805 $theResponse['message'] = get_status_header_desc($info['response_code']);