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

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 15 05:26:05 UTC 2012


#18589: class WP_Http_Curl missing support for DELETE method
-----------------------------------------------+-----------------------
 Reporter:  jbrinley                           |       Owner:  dd32
     Type:  defect (bug)                       |      Status:  reopened
 Priority:  normal                             |   Milestone:  3.4
Component:  HTTP                               |     Version:
 Severity:  normal                             |  Resolution:
 Keywords:  has-patch needs-testing 3.4-early  |
-----------------------------------------------+-----------------------
Changes (by dd32):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 One critical part was left out from this change, GET variables are
 processed as expected, however the body being sent (that we usually refer
 to as POST data) isn't being sent.

 As a result, using methods such as PATCH which expect a body, causes the
 remote server to wait for the data.. which isn't going to be sent. causing
 a timeout.  Ignoring the timeout issue, custom requests are useless
 without adding the body to the request.

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


More information about the wp-trac mailing list