ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Hill (JIRA)" <>
Subject [jira] [Created] (AMBARI-8168) Response headers set inconsistently
Date Wed, 05 Nov 2014 19:26:33 GMT
Greg Hill created AMBARI-8168:

             Summary: Response headers set inconsistently
                 Key: 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

View raw message