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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.11.2
    • Fix Version/s: 2.11.3, 2.12.2, 2.13.0
    • Component/s: camel-http4
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: