You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/07/11 09:50:04 UTC

[jira] [Resolved] (CAMEL-6469) Add StatusLine object to exchange in populateResponse

     [ https://issues.apache.org/jira/browse/CAMEL-6469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-6469.
--------------------------------
    Resolution: Fixed

There is now a header with key Exchange.HTTP_RESPONSE_TEXT with the status text.

> Add StatusLine object to exchange in populateResponse
> -----------------------------------------------------
>
>                 Key: CAMEL-6469
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6469
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-http
>            Reporter: Jason Chaffee
>            Assignee: Claus Ibsen
>             Fix For: 2.16.0
>
>
> If throwing exceptions are turned off, there is no way to get the same information that is used construct the exception when throwing them.  There should be an exchange property for the StatusLine object in camel-http4 just like there is for the response code.  In fact, if the StatusLine object is available, there is no need for the response code property.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)