charset parser should cater for quotes, both single and double quotes
---------------------------------------------------------------------

                 Key: CAMEL-2995
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2995
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-http
    Affects Versions: 2.3.0
            Reporter: Claus Ibsen
             Fix For: 2.5.0


See nabble
http://camel.465427.n5.nabble.com/issue-with-encoding-when-using-HTTP-component-td2227887.html#a2227887

I bet many systems may report charset in different ways such as
{code}
Content-Type:text/xml;charset="utf-8" 
Content-Type:text/xml;charset='utf-8' 
Content-Type:text/xml;charset=utf-8 
{code}

We should ensure that we support all ways of setting this. And there may also 
be spaces between so we should trim and whatnot.

The code in 2.4 may have been improved. Just creating a ticket to be sure.

-- 
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