@@ -59,7 +59,14 @@ def handler(event, context, *args):
5959
6060
6161@markers .aws .validated
62- @markers .snapshot .skip_snapshot_verify (paths = CLOUDFRONT_SKIP_HEADERS )
62+ @markers .snapshot .skip_snapshot_verify (
63+ paths = CLOUDFRONT_SKIP_HEADERS
64+ + [
65+ # The value of Accept-Encoding can change when the zstandard package is present
66+ "$..headers.Accept-Encoding" ,
67+ "$..multiValueHeaders.Accept-Encoding" ,
68+ ]
69+ )
6370@markers .snapshot .skip_snapshot_verify (
6471 condition = lambda : not is_next_gen_api (),
6572 paths = [
@@ -72,9 +79,6 @@ def handler(event, context, *args):
7279 "$..accept-encoding" ,
7380 "$..x-localstack-edge" ,
7481 "$..pathParameters" ,
75- # The value of Accept-Encoding can change when the zstandard package is present
76- "$..headers.Accept-Encoding" ,
77- "$..multiValueHeaders.Accept-Encoding" ,
7882 "$..requestContext.authorizer" ,
7983 "$..requestContext.deploymentId" ,
8084 "$..requestContext.domainName" ,
@@ -1247,7 +1251,14 @@ def _invoke_url(url):
12471251
12481252
12491253@markers .aws .validated
1250- @markers .snapshot .skip_snapshot_verify (paths = CLOUDFRONT_SKIP_HEADERS )
1254+ @markers .snapshot .skip_snapshot_verify (
1255+ paths = CLOUDFRONT_SKIP_HEADERS
1256+ + [
1257+ # The value of Accept-Encoding can change when the zstandard package is present
1258+ "$..content.headers.Accept-Encoding" ,
1259+ "$..content.multiValueHeaders.Accept-Encoding" ,
1260+ ]
1261+ )
12511262@markers .snapshot .skip_snapshot_verify (
12521263 condition = lambda : not is_next_gen_api (),
12531264 paths = [
@@ -1262,9 +1273,6 @@ def _invoke_url(url):
12621273 "$..User-Agent" ,
12631274 "$..x-localstack-edge" ,
12641275 "$..pathParameters" ,
1265- # The value of Accept-Encoding can change when the zstandard package is present
1266- "$..content.headers.Accept-Encoding" ,
1267- "$..content.multiValueHeaders.Accept-Encoding" ,
12681276 "$..requestContext.authorizer" ,
12691277 "$..requestContext.deploymentId" ,
12701278 "$..requestContext.domainName" ,
0 commit comments