スキップしてコンテンツを表示

CloudFront function not executed when response is delivered via HTTP3

0

I have a CloudFront function that sets the cache control and strict transport security headers. It works when the response is delivered via HTTP1 and 2 but since I enabled HTTP3 both chrome and Firefox report that the headers I was expecting are not present in the response.

Here's my infrastructure as code. Here's the test procedure

Is here the right place to report this bug?

質問済み 3年前479ビュー
1回答
1
承認された回答

In my tests I can see headers being added by CloudFront function even after upgrade to HTTP3, so it requires more deep investigation why it doesn't work for you. I'd suggest to create a Support ticket. However, I would also suggest to consider using Response Headers With this feature you don't need to use CloudFront Functions to insert headers such as Cache-Control and Strict-Transport-Security in the response.

AWS
回答済み 3年前
  • My latest test also worked. It must be fixed recently. Thanks for the hints about response headers

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ