Add experimental note to docs for has (#23835)
This adds a note the `has` documentation mentioning the feature is still experimental as we currently show a warning when the feature is used stating the same. ## Documentation / Examples - [x] Make sure the linting passes
This commit is contained in:
parent
cffdf1e088
commit
1cf7360788
3 changed files with 6 additions and 0 deletions
|
@ -156,6 +156,8 @@ module.exports = {
|
|||
|
||||
## Header, Cookie, and Query Matching
|
||||
|
||||
Note: this feature is still experimental and not covered by semver and is to be used at your own risk until it is made stable.
|
||||
|
||||
To only apply a header when either header, cookie, or query values also match the `has` field can be used. Both the `source` and all `has` items must match for the header to be applied.
|
||||
|
||||
`has` items have the following fields:
|
||||
|
|
|
@ -100,6 +100,8 @@ module.exports = {
|
|||
|
||||
## Header, Cookie, and Query Matching
|
||||
|
||||
Note: this feature is still experimental and not covered by semver and is to be used at your own risk until it is made stable.
|
||||
|
||||
To only match a redirect when header, cookie, or query values also match the `has` field can be used. Both the `source` and all `has` items must match for the redirect to be applied.
|
||||
|
||||
`has` items have the following fields:
|
||||
|
|
|
@ -180,6 +180,8 @@ module.exports = {
|
|||
|
||||
## Header, Cookie, and Query Matching
|
||||
|
||||
Note: this feature is still experimental and not covered by semver and is to be used at your own risk until it is made stable.
|
||||
|
||||
To only match a rewrite when header, cookie, or query values also match the `has` field can be used. Both the `source` and all `has` items must match for the rewrite to be applied.
|
||||
|
||||
`has` items have the following fields:
|
||||
|
|
Loading…
Reference in a new issue