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:26:33 UTC

[jira] [Created] (AMBARI-8168) Response headers set inconsistently

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)