Myroslav Papirkovskyy created AMBARI-4335:
---------------------------------------------

             Summary: Configure Jetty to return errors as JSON
                 Key: AMBARI-4335
                 URL: https://issues.apache.org/jira/browse/AMBARI-4335
             Project: Ambari
          Issue Type: Task
          Components: controller
    Affects Versions: 1.5.0
            Reporter: Myroslav Papirkovskyy
            Assignee: Myroslav Papirkovskyy
             Fix For: 1.5.0


Currently for some http errors Jetty returns pretty bad formatted simple html 
page with error explanation.
We should change this behavior to return errors as JSON in same format as for 
server internal errors to make them easily parsable by request schedule 
endpoint.




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to