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

ASF GitHub Bot commented on CAMEL-12552:
----------------------------------------

GitHub user aldettinger opened a pull request:

    https://github.com/apache/camel/pull/2356

    CAMEL-12552: Sent an error reason in the response body for HTTP 400 e…

    …rrors.
    
    Please, check 
[CAMEL-12552](https://issues.apache.org/jira/browse/CAMEL-12552) out for more.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/aldettinger/camel master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/2356.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2356
    
----
commit a5bad9508cd9038c5fad26f271017c3315dce6a3
Author: aldettinger <aldettinger@...>
Date:   2018-06-03T12:57:28Z

    CAMEL-12552: Sent an error reason in the response body for HTTP 400 errors

----


> 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
>            Assignee: Alex Dettinger
>            Priority: Minor
>
> 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)

Reply via email to