on ‎2020 Jul 06 3:00 PM
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???
Request clarification before answering.
Hello Eric,
Please check with your 3rd party system if they have any place enable these headers.From SAP CPI side whatever the headers that is shown in Trace would be sent as is so may be you can check quickly posting the same data using Postman or any other HTTP client.
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Postman sends the request with Date-header correctly to the 3th party application.
While doing a test with a dummy iFlow we try to send 2 header:
Date & Date1
Result:
Only Date1 is accessible in the dummy iFlow!
Conclusion:
The problem is inside SAP CPI
that is blocking the use of this header
Regards,
Erik
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
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.