Agree the HttpComponents are a bit tricky.  It appears that content-length is 
already being filtered out properly in the 
org.apache.camel.http.common.HttpHeaderFilterStrategy.  The issue appears to be 
that the filter did not work when the HttpRequestBase entity is a 
InputStreamEntity since then the http-components is setting the content-length 
on that object before the filter is applied.  So it's sneaking through.  

[ Full content available at: https://github.com/apache/camel/pull/2496 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to