camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-1095) camel-jetty - Content-Type should be set on response if provided as OUT header
Date Sun, 16 Nov 2008 09:23:07 GMT

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

Claus Ibsen commented on CAMEL-1095:
------------------------------------

Content-Length is also missing

> camel-jetty - Content-Type should be set on response if provided as OUT header
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-1095
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1095
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jetty
>    Affects Versions: 1.5.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.1, 2.0.0
>
>
> The Content-Type is not set in HttpBinding if an end-user has provided one as a OUT header.
> So if an user exposes a Jetty service and lets requests fly in that is text/plain and
want to return a response that is image/jpeg or the likes the content type can not be set
as:
>             exchange.getOut().setHeader("Content-Type", "image/jpeg");

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message