1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
0
I've just tested this and had no issues with at least access-control-allow-origin being added when HTTP/3 is in use. This was the case when using both CloudFront Functions as well as Response Header Policies.
Please check that your function uses all lowercase for the header key names.
It may also be worth trying a different browser.
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 anos
Thank you for your response. Yes, the function is using all lowercase for the header key names. I've updated my question with some screenshots to show my configuration. In addition to curl shown in the screenshots, I've also tried the latest version of Firefox and Chrome, and the problem persists across the browsers.
I suggest you raise a case with AWS support to investigate further. Please provide them the x-amz-cf-id response headers for each of your examples above. You could also try removing and re-adding the cloudfront function association to see if that resolves the problem.