Feature #173

Implement Accept headers

Added by Paula Gearon almost 9 years ago. Updated over 8 years ago.

Status:Closed Start date:
Priority:High Due date:
Assignee:Paula Gearon % Done:

0%

Category:HTTP interface
Target version:General development
Resolution:fixed

Description

The web api current takes "out" as a parameter to define the return type. This should be implemented as a content type defined in the Accept header from the client. See:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1

For ease of access with clients that set their own Accept types, the "out" parameter should continue to be accepted, but the name should change to something more sensible, like "type".

History

Updated by Paula Gearon over 8 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Implemented. Also, changed parameter name to "format", and this overrides the Accept header.

Updated by ronald - over 8 years ago

Merged into trunk in r1457.

Also available in: Atom PDF