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

giovanni reopened CAMEL-2743:
-----------------------------


That fix did not solve my problem.

Is it possible that a similar issue is present also on 
org.apache.camel.component.http.DefaultHttpBinding

 protected void popluateRequestParameters(HttpServletRequest request, 
HttpMessage message) {
        //we populate the http request parameters without checking the request 
method
-->  Map<String, Object> headers = message.getHeaders();  <<<------- here
        Enumeration names = request.getParameterNames();
        while (names.hasMoreElements()) {
            String name = (String)names.nextElement();
            Object value = request.getParameter(name);
            if (headerFilterStrategy != null
                && !headerFilterStrategy.applyFilterToExternalHeaders(name, 
value, message.getExchange())) {
                headers.put(name, value);
            }
        }

Also the method name could be refactored to "populate..." instead of 
"popluate....."



> HttpProducer should not sending the Http headers with low case
> --------------------------------------------------------------
>
>                 Key: CAMEL-2743
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2743
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 2.0.0, 2.1.0, 2.2.0
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.5.0
>
>
> Here is the mail thread which discusses about it.
> http://old.nabble.com/camel-http-converts-headers-to-lower-case-tp28620717p28620717.html

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

Reply via email to