cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Header is missing in HTTPS request reply API call

ErikDM
Explorer
5,968

I'm sending a request with 4 Headers:

- Date: 2020-07-06T13:05:56Z

- Authorization: Bearer access token
- Accept: application/vnd.api+json

- Digest: SHA512(raw_payload)
- Signature: BASE64(RSA_SHA256_SIGN(PRIVATE_KEY,SIGNING_STRING))

But the target system does not receive my date-header that is required?

Is there anyone who can me help out here why this header is not sended???

View Entire Topic
ErikDM
Explorer
0 Likes

Hi,

The Http HeaderFilterStrategy of the SAP-CPI camel framework filters out all the general http headers.
All other headers are converted to HTTP headers in the target message, with the exception of the following headers, which are blocked (based on a case-insensitive match):
content-length content-type cache-control connection date pragma trailer transfer-encoding upgrade via warning

Is there a possibility to override this settings???

I really need the Date-header for my request!

Regards,
Erik