[wp-trac] [WordPress Trac] #24156: If you submit file through wp curl it doesnt send boundary params for file mutlipart

WordPress Trac noreply at wordpress.org
Wed Apr 24 01:58:47 UTC 2013


#24156: If you submit file through wp curl it doesnt send boundary params for file
mutlipart
--------------------------+------------------------------
 Reporter:  samnani       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  HTTP          |     Version:  3.5.1
 Severity:  major         |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------

Comment (by dd32):

 To put it bluntly, if you want to use cURL functionalities that WP_HTTP
 doesn't support, you should probably be using cURL directly.

 The other WP_HTTP transports do not support the cURL send-file
 functionality, and you can't be sure that WP_HTTP will be using cURL on
 all servers. The enhancement here would be to support sending files via
 multipart in WP_HTTP.

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


More information about the wp-trac mailing list