Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/configuration/http_conn_man/route_config/route.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ next (e.g., redirect, forward, rewrite, etc.).
"rate_limit": "{...}",
"shadow": "{...}",
"priority": "...",
"headers": "[]"
"headers": []
}

prefix
Expand Down Expand Up @@ -219,9 +219,9 @@ name
*(required, string)* Specifies the name of the header in the request.

value
*(optional, string)* Specifies the value of the header. If the value is absent a request that has the
``name`` header will match, regardless of the header's value.
*(optional, string)* Specifies the value of the header. If the value is absent a request that has
the *name* header will match, regardless of the header's value.

The router will check the request's headers against all the specified
headers in the route config. A match will happen if all the headers in the route are present in
the request with the same values (or based on presence if the ``value`` field is not in the config).
the request with the same values (or based on presence if the ``value`` field is not in the config).