You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/content/en/latest/tasks/traffic/http-request-headers.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,8 @@ refer to the [Gateway API documentation][].
10
10
A [`RequestHeaderModifier` filter][req_filter] instructs Gateways to modify the headers in requests that match the rule
11
11
before forwarding the request upstream. Note that the `RequestHeaderModifier` filter will only modify headers before the
12
12
request is sent from Envoy to the upstream service and will not affect response headers returned to the downstream
13
-
client.
13
+
client. Header values support Envoy [format strings][envoy-format-strings], enabling dynamic values sourced from the
14
+
request and connection metadata.
14
15
15
16
## Prerequisites
16
17
@@ -445,6 +446,8 @@ spec:
445
446
## Early Header Modification
446
447
447
448
In some cases, it could be necessary to modify headers before the proxy performs any sort of processing, routing or tracing. Envoy Gateway supports this functionality using the [ClientTrafficPolicy][] API.
449
+
The same Envoy [format strings][envoy-format-strings] used with `RequestHeaderModifier` values also apply to early
450
+
header modifications, allowing dynamic data to be populated ahead of routing.
448
451
449
452
A [ClientTrafficPolicy][] resource can be attached to a [Gateway][] resource to configure early header modifications for all its routes. In the following example we will demonstrate how early header modification can be configured.
Copy file name to clipboardExpand all lines: site/content/en/v1.5/tasks/traffic/http-request-headers.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,8 @@ refer to the [Gateway API documentation][].
10
10
A [`RequestHeaderModifier` filter][req_filter] instructs Gateways to modify the headers in requests that match the rule
11
11
before forwarding the request upstream. Note that the `RequestHeaderModifier` filter will only modify headers before the
12
12
request is sent from Envoy to the upstream service and will not affect response headers returned to the downstream
13
-
client.
13
+
client. Header values support Envoy [format strings][envoy-format-strings], enabling dynamic values sourced from the
14
+
request and connection metadata.
14
15
15
16
## Prerequisites
16
17
@@ -445,6 +446,8 @@ spec:
445
446
## Early Header Modification
446
447
447
448
In some cases, it could be necessary to modify headers before the proxy performs any sort of processing, routing or tracing. Envoy Gateway supports this functionality using the [ClientTrafficPolicy][] API.
449
+
The same Envoy [format strings][envoy-format-strings] used with `RequestHeaderModifier` values also apply to early
450
+
header modifications, allowing dynamic data to be populated ahead of routing.
448
451
449
452
A [ClientTrafficPolicy][] resource can be attached to a [Gateway][] resource to configure early header modifications for all its routes. In the following example we will demonstrate how early header modification can be configured.
0 commit comments