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:
JJ Kasper 2021-04-08 13:39:25 -05:00 committed by GitHub
parent cffdf1e088
commit 1cf7360788
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View file

@ -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:

View file

@ -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:

View file

@ -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: