Unverified Commit 1cf73607 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

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
parent cffdf1e0
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment