You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Greg Hill (JIRA)" <ji...@apache.org> on 2014/11/05 20:10:33 UTC

[jira] [Created] (AMBARI-8167) Content-type request header enforcement not consistent

Greg Hill created AMBARI-8167:
---------------------------------

             Summary: Content-type request header enforcement not consistent
                 Key: AMBARI-8167
                 URL: https://issues.apache.org/jira/browse/AMBARI-8167
             Project: Ambari
          Issue Type: Bug
    Affects Versions: 1.7.0
            Reporter: Greg Hill


Some API calls require you to set a content-type of application/json on the request body (/api/v1/bootstrap for example), whereas others will fail if you do (every other one I've tried so far).  We should either enforce the content-type header on the request or ignore it altogether and just assume JSON.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)