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)

Reply via email to