[wp-trac] Re: [WordPress Trac] #4779: Proposal for HTTP POST and REQUEST API

WordPress Trac wp-trac at lists.automattic.com
Sun May 25 04:07:01 GMT 2008


#4779: Proposal for HTTP POST and REQUEST API
--------------------------------------------------+-------------------------
 Reporter:  darkdragon                            |        Owner:  anonymous
     Type:  enhancement                           |       Status:  new      
 Priority:  normal                                |    Milestone:  2.6      
Component:  Optimization                          |      Version:           
 Severity:  normal                                |   Resolution:           
 Keywords:  has-patch needs-testing dev-feedback  |  
--------------------------------------------------+-------------------------
Comment (by jacobsantos):

 Your code is beautiful DD32.

 I've been looking to set the code to use a function instead, but couldn't
 drive myself to steep to that level. I didn't think it would combine the
 feature set, but alas, you were able to do it and quite well.

 {{{
 $http_request .= 'Content-Type: application/x-www-form-urlencoded;
 charset=' . get_option('blog_charset') . "\r\n";
 }}}

  * Needs to be wrapped in a conditional.
  * The header support needs to also handle strings.

 Other than that I think I can wrap the code in the patch into a pluggable
 function and create another patch.

 I want to get this in and I would like to get rid of Snoopy.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4779#comment:10>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list