Opened 7 years ago
Last modified 5 years ago
#42839 new feature request
wp_remote_post should support multipart uploads
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | HTTP API | Keywords: | |
Focuses: | Cc: |
Description
Currently wp_remote_post
doesn't support multipart uploads (file uploads). Because of this many plugin authors need to workaround this by implementing their own way to upload files remotely.
Attachments (2)
Change History (9)
#3
@
7 years ago
Thanks for that @calin
However, I don't want to merge wp_remote_multipart.diff into WordPress - Can you open an upstream ticket for Requests to add that support directly?
If we're going to add support for this, I want to see it in the actual library rather than implementing extras around it.
This ticket was mentioned in Slack in #core by skithund. View the logs.
5 years ago
Note: See
TracTickets for help on using
tickets.
Hi @calin,
It appears the diff you submitted isn't a diff, but rather the output from attempting to apply a diff, did you attach the wrong file?
Please note that we use the Requests library for WP_HTTP currently, please verify that a feature exists within that library before proposing it's usefulness inside WordPress, and file any enhancement requests for that library directly on the Requests bug tracker.