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 2010/01/04 08:39:15 UTC

[jira] Resolved: (CAMEL-2329) Add chunked option for camel-jetty component to turn off HttpStream

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

Willem Jiang resolved CAMEL-2329.
---------------------------------

    Resolution: Fixed

trunk
http://svn.apache.org/viewvc?rev=895572&view=rev
Also updated wiki page of camel-jetty.

> Add chunked option for camel-jetty component to turn off HttpStream 
> --------------------------------------------------------------------
>
>                 Key: CAMEL-2329
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2329
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.2.0
>
>
> Currently even with a simple route like this:
> {code}
> from("jetty:http://localhost:8080/blah")
>             .setBody(simple("<html><head><title>Hello World!</title></head><body>Hello World!</body></html>"))
>             .setHeader("Content-Type").constant("text/html");
> {code}
> we'll return a response with chunked transfer encoding. This is fine, however there doesn't appear to be an easy way to disable chunked encoding which can be necessary to support legacy clients that do not support HTTP 1.1 properly. Ideally we should add an option for camel-jetty to support turning off chunked encoding, in which case we would revert to using the Content-Length header, this would also effectively disable HTTP streaming.

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