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.

Gert-Jan van de Streek

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to