Project

General

Profile

Feature #173

Implement Accept headers

Added by Paula Gearon over 15 years ago. Updated about 15 years ago.

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".

#1

Updated by Paula Gearon about 15 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.

#2

Updated by ronald - about 15 years ago

Merged into trunk in r1457.

Also available in: Atom PDF