id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 13730,http_request() fails when passed an array for the $body parameter,mdawaffe,westi,"Passing an empty array to WP_Http::request in the body argument causes an error if the WP_Http_ExtHTTP transport is used: {{{ WP_Http::request( $url, array( 'body' => array() ) ); }}} Since the body is empty, it gets ignored and so does not get converted into a (string) http query; it's passed straight into {{{ @http_request($r['method'], $url, $r['body'], $options, $info); }}} Which causes an error. Attached sets empty bodies to the default (null).",defect (bug),closed,normal,3.1,HTTP API,3.0,normal,fixed,has-patch commit,,