@@ -3430,29 +3430,15 @@ class SetCacheSettingsRuleActionParametersSharedDictionary(TypedDict, total=Fals
34303430
34313431class SetCacheSettingsRuleActionParametersVaryDefault (TypedDict , total = False ):
34323432 """
3433- Controls how a single request header (or the default for all headers) contributes to the cache key.
3433+ Controls how response Vary headers without a per-header override contribute to the cache key.
34343434 """
34353435
34363436 action : Required [Literal ["bypass" , "passthrough" , "normalize" ]]
34373437 """How the header value is treated when building the cache key."""
34383438
3439- languages : SequenceNotStr [str ]
3440- """The set of languages to normalize against.
3441-
3442- Only valid for the `accept-language` header.
3443- """
3444-
3445- media_types : SequenceNotStr [str ]
3446- """The set of media types to normalize against.
3447-
3448- Only valid for the `accept` header.
3449- """
3450-
34513439
34523440class SetCacheSettingsRuleActionParametersVaryHeaders (TypedDict , total = False ):
3453- """
3454- Controls how a single request header (or the default for all headers) contributes to the cache key.
3455- """
3441+ """Controls how a single request header contributes to the cache key."""
34563442
34573443 action : Required [Literal ["bypass" , "passthrough" , "normalize" ]]
34583444 """How the header value is treated when building the cache key."""
@@ -3473,13 +3459,13 @@ class SetCacheSettingsRuleActionParametersVaryHeaders(TypedDict, total=False):
34733459class SetCacheSettingsRuleActionParametersVary (TypedDict , total = False ):
34743460 """Controls how cached responses vary based on request headers.
34753461
3476- At least one of `default` or `headers` must be set, and `default` is required when `headers` is set .
3462+ `default` is required by the API and applies to any Vary response header that does not have a per-header override .
34773463 """
34783464
34793465 default : SetCacheSettingsRuleActionParametersVaryDefault
34803466 """
3481- Controls how a single request header (or the default for all headers)
3482- contributes to the cache key.
3467+ Controls how response Vary headers without a per-header override contribute to
3468+ the cache key.
34833469 """
34843470
34853471 headers : Dict [str , SetCacheSettingsRuleActionParametersVaryHeaders ]
@@ -3564,8 +3550,8 @@ class SetCacheSettingsRuleActionParameters(TypedDict, total=False):
35643550 vary : SetCacheSettingsRuleActionParametersVary
35653551 """Controls how cached responses vary based on request headers.
35663552
3567- At least one of `default` or `headers` must be set, and `default` is required
3568- when `headers` is set .
3553+ `default` is required by the API and applies to any Vary response header that
3554+ does not have a per-header override .
35693555 """
35703556
35713557
0 commit comments