3 Answers
- Newest
- Most votes
- Most comments
0
Have you tried accessing the header via the event? For example below
const response = event.Records[0].cf.response;
const headers = response.headers;
console.log('Headers: "${headers}"');
If you still cant see them log the event and then view the json offline and confirm your header is actually present in the event.
answered 2 years ago
0
Thanks for the response, but no it's not that.
I've created manually a function + λ distro and seems like it logs everything correctly in the freshly created one, in the origin-response
invocation in request.origin.s3.customHeaders
.
answered 2 years ago
Relevant content
- asked 2 years ago
- Accepted Answerasked a year ago
- asked a month ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago