3 Risposte
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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.
con risposta 2 anni fa
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
.
con risposta 2 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 2 anni fa