You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jonathan Halterman (JIRA)" <ji...@apache.org> on 2015/07/21 18:58:04 UTC
[jira] [Created] (AMBARI-12482) ambari-server's API should support
Accept header
Jonathan Halterman created AMBARI-12482:
-------------------------------------------
Summary: ambari-server's API should support Accept header
Key: AMBARI-12482
URL: https://issues.apache.org/jira/browse/AMBARI-12482
Project: Ambari
Issue Type: Bug
Components: ambari-server
Reporter: Jonathan Halterman
Priority: Minor
Ambari-server returns JSON, yet specifying an Accept header such as Accept: application/json yields a 406:
{
"status": 406,
"message": "Not Acceptable"
}
There should be no problem specifying application/json since that's what Ambari provides by default. Ideally, application/xml should be supported as well since JAX-RS can use resource serializers such as Jackson to take care of this automatically.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)