Ticket #4779: 4779.r8548.diff
File 4779.r8548.diff, 650 bytes (added by , 16 years ago) |
---|
-
http.php
4 4 * 5 5 * Will eventually replace and standardize the WordPress HTTP requests made. 6 6 * 7 * @link http://trac.wordpress.org/ticket/4779 HTTP API Proposal 8 * 7 9 * @package WordPress 8 10 * @subpackage HTTP 9 11 * @since 2.7 … … 794 796 795 797 list($theHeaders, $theBody) = explode("\r\n\r\n", $strResponse, 2); 796 798 $theHeaders = WP_Http::processHeaders($theHeaders); 799 $theBody = http_chunked_decode($theBody); 797 800 798 801 $theResponse = array(); 799 802 $theResponse['code'] = $info['response_code'];