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 Erik,
Hope you are using SAP Cloud Platform Integration ( from your question subject line ).If yes then navigate to Runtime Configuration and enable the headers you want to receive from or send to 3rd party systems( i have updated * which allows all the headers ,for your case may be you can put Date ).

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.
Hi,
I now encounter the same issue with cache-control and pragma header parameters.
Anyone managed to fix this within SCPI?
My next step would be to create custom parameters for those and ask consumers to use those instead.
Br Frank.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Erik,
Have you got a solution for this issue?
I am facing the same issue "Date" as header.
Regards,
Alexander
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Erik,
As per my understanding there are no other settings which can be done from developer side.
Appreciate if you could raise a ticket to LOD-HCI-PI-CON and our development colleagues will help you on the resolution part.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Erik,
First part is your target system should send the response back to you with populating this header.If you perform the setting I have suggested in earlier comment then SAP CPI will not truncate the header you want to retain and it should be available for you in the response.
Also please update the screenshots as couple of them are not visible or properly updated.
If you want to retain this header in SAP CPI then store it to Property before your request step so that it willnot be vanished after your request reply.
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.
| 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.