[wp-trac] [WordPress Trac] #17490: HTTP API fails with timeout, if POST-Headers are present

WordPress Trac wp-trac at lists.automattic.com
Wed May 18 14:46:16 UTC 2011


#17490: HTTP API fails with timeout, if POST-Headers are present
--------------------------+-----------------------------
 Reporter:  simsmaster    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  HTTP          |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 I have the following code in my plugin:
 {{{
 $response = $request->request($fetch_url, array('method' => 'POST', 'body'
 => $post_data));
 }}}
 If $post_data == array(); everything works fine. But when I set something
 to that array, like this:
 {{{
 $post_data['tmp'] = 'abc';
 }}}
 $response is WP_Error with an timeout message.

 I use PHP 5.3.1 on Windows (XAMPP)

 Sounds to me like a bug...

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17490>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list