Uploaded image for project: 'FUSE Mediation Router'
  1. FUSE Mediation Router
  2. MR-540

camel-jetty to support content types where the charset token is wrapped in double quotes.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 2.8.0-fuse-00-08
    • None
    • None

      According to HTTP spec, the grammar for defining the charset is

      charset = token

      Some http stacks (e.g. Sonic) may wrap the token in double quotes, e.g.
      charset="utf-8"

      rather than
      charset=utf-8

      The presence of these quotes make Camel raise an error right now
      java.io.UnsupportedEncodingException: "utf-8"

      Although Camels current behavior is correct, we should make Camel more fault tolerant and make it process charset tokens wrapped in quotes.

            willem.jiang Willem Jiang (Inactive)
            rhn-support-tmielke Torsten Mielke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: