Index: http.php
===================================================================
--- http.php	(revision 8557)
+++ http.php	(working copy)
@@ -796,8 +796,10 @@
 
 		list($theHeaders, $theBody) = explode("\r\n\r\n", $strResponse, 2);
 		$theHeaders = WP_Http::processHeaders($theHeaders);
-		$theBody = http_chunked_decode($theBody);
 
+		if ( !empty($theBody) )
+			$theBody = http_chunked_decode($theBody);
+
 		$theResponse = array();
 		$theResponse['code'] = $info['response_code'];
 		$theResponse['message'] = get_status_header_desc($info['response_code']);
