Skip to content

Commit 52d98eb

Browse files
committed
docs: clarify :method header usage
Signed-off-by: ShivamJha2436 <[email protected]>
1 parent c05dc6b commit 52d98eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/content/docs/main/config/request-routing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Modifiers:
128128

129129
#### Method Matching
130130

131-
HTTPProxy currently does not provide a dedicated field for matching HTTP methods. However, you can achieve method-based routing using **header conditions** with the Envoy pseudo-header `:method`. This allows routing requests based on HTTP methods such as `GET`, `POST`, `PUT`, etc.
131+
HTTPProxy currently does not provide a dedicated field for matching HTTP methods. However, you can achieve method-based routing using **header conditions** with the HTTP/2 pseudo-header formatted`:method` header match. This allows routing requests based on HTTP methods such as `GET`, `POST`, `PUT`, etc.
132132

133133
```yaml
134134
apiVersion: projectcontour.io/v1

0 commit comments

Comments
 (0)