You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Alex Dettinger (JIRA)" <ji...@apache.org> on 2018/05/31 20:38:00 UTC

[jira] [Created] (CAMEL-12552) camel-rest - Send the error reason in the resonse body

Alex Dettinger created CAMEL-12552:
--------------------------------------

             Summary: camel-rest - Send the error reason in the resonse body
                 Key: CAMEL-12552
                 URL: https://issues.apache.org/jira/browse/CAMEL-12552
             Project: Camel
          Issue Type: Task
          Components: camel-core
            Reporter: Alex Dettinger


CAMEL-11162 added some checks that could end up with HTTP 400, on invalid headers/params and empty body.

It could be interesting to return the reason of failed status code. So that client knows how to modify there requests before sending again.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)