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

ContentType does not returns "multipart/form-data;boundary=---------------------------j2radvtrk"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.11.2
    • 2.11.3, 2.12.2, 2.13.0
    • camel-http4
    • None
    • Patch Available
    • Unknown

    Description

      I found the issue in camel-http4 component. The HttpProducer.createRequestEntity method has been changed to parse the contentType. The ContentType.parse method returns "multipart/form-data"
      instead of "multipart/form-data;boundary=---------------------------j2radvtrk". If you change HttpProducer.createRequestEntity to use ContentType.create method it works fine.

      http://camel.465427.n5.nabble.com/Camel-HTTP4-2-11-2-ContentType-does-not-returns-quot-multipart-form-data-boundary-j2radvtrk-quot-tc5742407.html

      Attachments

        1. HttpProducerPatch
          2 kB
          Amit Patel

        Activity

          People

            njiang Willem Jiang
            amit1000 Amit Patel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: