Erik De Meyer created CAMEL-15332:
-------------------------------------

             Summary: Http Headerfilterstrategy
                 Key: CAMEL-15332
                 URL: https://issues.apache.org/jira/browse/CAMEL-15332
             Project: Camel
          Issue Type: Bug
          Components: camel-http
         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.
            Reporter: Erik De Meyer


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? 



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

Reply via email to