You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "James Netherton (Jira)" <ji...@apache.org> on 2020/09/02 14:23:00 UTC

[jira] [Created] (CAMEL-15495) DefaultVertxHttpBinding ignores exchange content-type request header

James Netherton created CAMEL-15495:
---------------------------------------

             Summary: DefaultVertxHttpBinding ignores exchange content-type request header
                 Key: CAMEL-15495
                 URL: https://issues.apache.org/jira/browse/CAMEL-15495
             Project: Camel
          Issue Type: Bug
    Affects Versions: 3.5.0
            Reporter: James Netherton
            Assignee: James Netherton
             Fix For: 3.6.0


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.





--
This message was sent by Atlassian Jira
(v8.3.4#803005)