3개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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.
답변함 2년 전
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
.
답변함 2년 전
관련 콘텐츠
- AWS 공식업데이트됨 2년 전
- AWS 공식업데이트됨 2년 전