camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CAMEL-5367) DefaultJettyHttpBinding should not convert binary HTTP body
Date Mon, 18 Jun 2012 09:12:43 GMT

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

Claus Ibsen reassigned CAMEL-5367:
----------------------------------

    Assignee: Claus Ibsen
    
> DefaultJettyHttpBinding should not convert binary HTTP body
> -----------------------------------------------------------
>
>                 Key: CAMEL-5367
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5367
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jetty
>    Affects Versions: 2.6.0
>            Reporter: metatech
>            Assignee: Claus Ibsen
>
> In class DefaultJettyHttpBinding, method "extractResponseBody", any non-Java HTTP body
is considered as string.
> This corrupts binary files such as images when camel-jetty is used as a proxy http://camel.apache.org/how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html
> Only bodies with MIME types of non-binary data should be converted to strings.
> Method "doWriteDirectResponse" of class "DefaultHttpBinding" (in camel-http) converts
it again, which corrupts it even more.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message