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

Http Headerfilterstrategy

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Information Provided
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: camel-http
    • Labels:
      None
    • Environment:

      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.

    • Estimated Complexity:
      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

            • Assignee:
              Unassigned
              Reporter:
              erikdm Erik De Meyer

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment