Feature #173
Implement Accept headers
Status:
Closed
Priority:
High
Assignee:
Category:
HTTP interface
Target version:
Start date:
Due date:
% Done:
0%
Estimated time:
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".
Updated by Paula Gearon over 14 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.