DocsEdge StackAdd request headers
Add request headers
Ambassador Edge Stack can add a dictionary of HTTP headers that can be added to each request that is passed to a service.
add_request_headers attribute is a dictionary of
value pairs. The
value can be a
object. When it is an
object, the object should have a
value property, which is the actual header value, and the remaining attributes are additional envoy properties.
Envoy dynamic values
%PROTOCOL% are supported, in addition to static values.
add_request_headers can be set either in a
Mapping or using
ambassador Module defaults.
will add the protocol, client IP, and a static header to
This example will add the same headers for both mappings.