Greg Hill created AMBARI-8168:
---------------------------------

             Summary: Response headers set inconsistently
                 Key: AMBARI-8168
                 URL: https://issues.apache.org/jira/browse/AMBARI-8168
             Project: Ambari
          Issue Type: Bug
    Affects Versions: 1.7.0
            Reporter: Greg Hill


Many API calls set a content-type of application/json on their responses, but 
many others set text/plain.  We should set them all to application/json.  I can 
gather a list of methods that are wrong if that is necessary.

Also, many methods omit the content-length response header while others include 
it.  This should also be remedied.  Again, I can start gathering a list of 
offenders.



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

Reply via email to