Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-19768

camel-http - HTTP message body encoded with wrong charset

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.0.0
    • 4.0.1, 4.1.0
    • camel-http
    • None
    • Unknown

    Description

      I was facing an issue during migration from Camel 3 to 4 when routing HTTP requests that contain JSONs with special characters, e.g. German umlauts. In my case, this leads to a situation where the receiving Spring Boot service rejects the request, pointing out it's not readable. That's actually true since the request header states that the message is in UTF-8 while it actually is encoded in ISO 8859-1.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              paetzold.michael@gmail.com Michael P├Ątzold
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: