DocsEdge Stack
1.4
Add Request Headers
1 min • readThe
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.
The add_request_headers attribute
The add_request_headers attribute is a dictionary of header: value pairs. The value can be a string, bool or 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 %DOWNSTREAM_REMOTE_ADDRESS_WITHOUT_PORT% and %PROTOCOL% are supported, in addition to static values.
A Basic Example
will add the protocol, client IP, and a static header to /backend/.