You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2008/03/20 04:56:32 UTC
[jira] Commented: (CAMEL-374) HttpBinding.writeResponse doesn't set
the response status code (i.e. it's always 200)
[ https://issues.apache.org/activemq/browse/CAMEL-374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41733#action_41733 ]
Willem Jiang commented on CAMEL-374:
------------------------------------
Hi David,
Please grand your patch with Apache license, or I can't apply this patch.
You can use the Manage Attachments link to do that .
Thanks,
Willem
> HttpBinding.writeResponse doesn't set the response status code (i.e. it's always 200)
> -------------------------------------------------------------------------------------
>
> Key: CAMEL-374
> URL: https://issues.apache.org/activemq/browse/CAMEL-374
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-http, camel-jetty
> Affects Versions: 1.3.0
> Reporter: David White
> Fix For: 1.3.0
>
> Attachments: HttpBinding.patch
>
>
> When writing out an Http response, the HttpBinding should check for the existing of the header HttpProducer.HTTP_RESPONSE_CODE and set it in the response if it's there. This allows requests made via the http component to be output with the correct status code info. If also allows processors in the flow to control the status code by setting the header themselves.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.