Make WordPress Core

Opened 15 years ago

Closed 14 years ago

#10670 closed enhancement (wontfix)

Refactor HTTP API

Reported by: jacobsantos's profile jacobsantos Owned by: jacobsantos's profile jacobsantos
Milestone: Priority: normal
Severity: normal Version:
Component: HTTP API Keywords:
Focuses: Cc:


I looked at the code base and it seems that the WP_Http class is of need of refactoring. The goal is to allow for the arguments in the request method to be used within any transport separately of the main WP_Http class.

It overhauls the request and headers, creating at least two new classes for managing both respectively. Backwards compatibility will be maintained even though, people shouldn't be calling the main classes, the API has already been established and supporting the API won't be difficult and time consuming from the changes.

The change will also allow for replacing or extending the code to allow for a plugin to replace the code base. It is debatable whether anyone will do this or if this should be one of the "features."

Change History (1)

#1 @dd32
14 years ago

  • Milestone Unassigned deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Closing due to no patch for now. If you ever have a patch to submit against it, please feel free to reopen.

Note: See TracTickets for help on using tickets.