camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Tam <email.w...@gmail.com>
Subject Re: http header strategy: transfer-encoding
Date Mon, 31 Aug 2009 15:26:01 GMT
It sounds good to me.

On Sun, Aug 30, 2009 at 3:13 AM, Claus Ibsen<claus.ibsen@gmail.com> wrote:
> On Fri, Aug 28, 2009 at 8:43 AM, Gert-Jan van de
> Streek<g.j.streek@avisi.nl> wrote:
>>
>> I would recommend adding "transfer-encoding" to the out filter in
>> HttpHeaderStrategy.
>>
>> When for example "transfer-encoding: chunked" is accidentally added to the
>> request headers in HttpClient, it will confuse the client. This can for
>> example happen when in a previous http request this header was returned by
>> the server and hence copied to the camel headers.
>>
>> "transfer-encoding" is both a server and a client header and like
>> "content-length" and "content-type", the client must be very aware of what
>> to do when sending it.
>>
>
> Good idea.
>
> Willem Tam your thoughts?
>
>
>
>> Gert-Jan van de Streek
>
>
>
> --
> Claus Ibsen
> Apache Camel Committer
>
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
>

Mime
View raw message