WordPRess GSoC

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#293 closed enhancement (fixed)

Avoid sending headers directly in methods

Reported by: rmccue Owned by: rmccue
Milestone: 2013 Final (1.0) Priority: minor
Component: JSON REST API Keywords:


To enable embedding the API inside other code, we should avoid sending headers directly in the methods. Instead, we should use wrappers that can be overriden by users.

Change History (2)

#1 @rmccue
5 years ago

  • Owner set to rmccue
  • Resolution set to fixed
  • Status changed from new to closed

In 2287:

Always send headers via the server handler

Fixes #293

#2 @bpetty
5 years ago

This will be very helpful when we get around to implementing PHPUnit tests.

Note: See TracTickets for help on using tickets.