[wp-trac] [WordPress Trac] #18589: class WP_Http_Curl missing support for DELETE method

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 21 01:46:57 UTC 2011


#18589: class WP_Http_Curl missing support for DELETE method
-------------------------------------+------------------------------
 Reporter:  jbrinley                 |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  HTTP                     |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------

Comment (by jbrinley):

 Replying to [comment:3 dd32]:
 > The patch noted there of simply setting {{{ default: curl_setopt(
 $handle, CURLOPT_CUSTOMREQUEST, $r['method'] ); }}} seems like a
 reasonable option at first glance.

 Agreed. zx2c4's patch looks like a better, more flexible option, and it's
 more in line with how the other transports handle arbitrary methods.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18589#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list