Docsright arrowEdge Stackright arrow1.9right arrowRemove Response Headers

1 min • read

Remove Response Headers

Ambassador Edge Stack can remove a list of HTTP headers that would be sent to the client in the response (eg. default x-envoy-upstream-service-time).

The remove_response_headers Attribute

The remove_response_headers attribute takes a list of keys used to match to the header.

remove_request_headers can be set either in a Mapping or using ambassador Module defaults.

Mapping Example

will drop the header with key x-envoy-upstream-service-time.

This is the same as the mapping example, but the headers will be removed for both mappings.