WordPress.org

Make WordPress Core

#43011 closed feature request (duplicate)

WP_Http File Uploads

Reported by: globalprogramming Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.9.1
Component: HTTP API Keywords:
Focuses: Cc:
PR Number:

Description

I'd like to switch from using cURL to WP_Http to streamline plugin code.

From what I can see WP_Http currently does not support file uploads while it does support GET/POST/cookie management/redirections pretty much everything short of file uploads.

Change History (2)

#1 @jrf
23 months ago

  • Focuses coding-standards removed

#2 @dd32
23 months ago

  • Component changed from Plugins to HTTP API
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi @globalprogramming and welcome to Trac.

We've currently got another request for this open over here: #42839 - however we'll need support for it in the upstream library (Requests) before we can add it to WordPress.

Note: See TracTickets for help on using tickets.