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

DefaultVertxHttpBinding ignores exchange content-type request header

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0
    • 3.6.0
    • None
    • None
    • Unknown

    Description

      I made a mistake in the DefaultVertxHttpBinding implementation in that if the content-type exchange header is set, it gets stripped by the HeaderFilterStrategy, and is never set on the Vert.x HttpRequest object.

      The workaround until a fix is available would be to extend DefaultVertxHttpBinding and override populateRequestHeaders so that content-type can be set properly.

      Attachments

        Activity

          People

            jamesnetherton James Netherton
            jamesnetherton James Netherton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: