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

Headers missing from CAP request in handler

cabraldaniel
Explorer
0 Likes
795

Hi All!

I'm working on a CAP service that serves content to both an HTML5 app and an MDK app. I've created a handler to pre-filter some data according to the user ID. If the user is logged in using the MDK app, I want to detect this using the header' x-forwarded-path', which should be included in the request (I implemented this in another project successfully).

But this time, using CAP 8.9.2, I see only the x-correlation-id header in any request; a lot is missing. I saw some posts about missing authorisation headers, but not all the other headers (x-*** for example). 

My packages:

    "@sap/cds": "^8.9.2",
    "@sap/cds-dk": "^8.9.1",
    "@sap/xsenv": "^5.5.0",
    "@sap/xssec": "^4.6.0",

Has anyone here been through this before?

Thanks!




Accepted Solutions (0)

Answers (0)