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

Http Headerfilterstrategy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Information Provided
    • None
    • None
    • camel-http
    • None
    • SAP Cloud platform integration

      I did also a dummy test http request using 2 headers: date & newdate

      While checking i see that date-header never arrives at destination!!! only the newdate-header comes true.

    • Unknown

    Description

      Hi,

      I try to do an Http request API call for for a banking application in SAP Cloud platform integration.

      Therefore I need a mandatory header for security reasons: Date

      My issue is that the camel framework headerfilterstrategy filters out this header, so the request gives me an error:

      {"errors":[\{"code":"missingHeader","detail":"There is a missing mandatory header in the request: Date.","meta":{"header":"Date"}}]}

       

      Is there any possibility to override his behavior with an javascript or groovyscript? 

      Attachments

        Activity

          People

            Unassigned Unassigned
            erikdm Erik De Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: