You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2017/10/30 19:15:00 UTC

[jira] [Commented] (OOZIE-3101) Oozie should add error message to the response body

    [ https://issues.apache.org/jira/browse/OOZIE-3101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16225585#comment-16225585 ] 

Rohini Palaniswamy commented on OOZIE-3101:
-------------------------------------------

https://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletResponse.html#sendError(int, java.lang.String) always sends it as a text/html. We should send a Json message

> Oozie should add error message to the response body
> ---------------------------------------------------
>
>                 Key: OOZIE-3101
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3101
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Satish Subhashrao Saley
>            Assignee: Satish Subhashrao Saley
>         Attachments: OOZIE-3101-1.patch
>
>
> For web service APIs, currently Oozie adds error message in a custom response header which is parsed out by the OozieClient. Oozie should also put error message in the response body so that clients like curl can display the error message to users without having to turn on verbose output



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)