WordPRess GSoC Trac

Opened 21 months ago

Closed 19 months ago

Last modified 19 months 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)

comment:1 @rmccue19 months 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

comment:2 @bpetty19 months ago

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

Note: See TracTickets for help on using tickets.