HeaderManipulation

Proto: header_manipulation.proto

Package: trafficcontrol.policy.gloo.solo.io

Types:

HeaderManipulationPolicySpec

HeaderManipulationPolicy is used to transform HTTP requests and responses matching selected routes. TransformationPolicies are applied at the Route level. If no selectors are provided, will apply to all routes in the workspace.

Field Description
applyToRoutes (repeated common.gloo.solo.io.RouteSelector)

select the routes where the policy will be applied
config (HeaderManipulationPolicySpec.Config)

The details of the transformation policy to apply to the selected routes or destinations for a given route.
applyToRouteDestinations (repeated common.gloo.solo.io.RouteDestinationSelector)

Select routes’ destinations where the policy will be applied. This field is intended for when the config should be applied to a forwardTo route only when it is forwarded to a subset of the route's backing destinations.

HeaderManipulationPolicySpec.Config

Field Description
removeResponseHeaders (repeated string)

HTTP headers to remove before returning a response to the caller.
appendResponseHeaders (repeated HeaderManipulationPolicySpec.Config.AppendResponseHeadersEntry)

Additional HTTP headers to add before returning a response to the caller.
removeRequestHeaders (repeated string)

HTTP headers to remove before forwarding a request to the destination service.
appendRequestHeaders (repeated HeaderManipulationPolicySpec.Config.AppendRequestHeadersEntry)

Additional HTTP headers to add before forwarding a request to the destination service.

HeaderManipulationPolicySpec.Config.AppendRequestHeadersEntry

Field Description
key (string)

value (string)

HeaderManipulationPolicySpec.Config.AppendResponseHeadersEntry

Field Description
key (string)

value (string)

HeaderManipulationPolicyStatus

reflects the status of the HeaderManipulationPolicy

Field Description
global (common.gloo.solo.io.GenericGlobalStatus)

workspaces (repeated HeaderManipulationPolicyStatus.WorkspacesEntry)

The status of the resource in each workspace that it exists in.
selectedRoutes (repeated common.gloo.solo.io.RouteReference)

Routes selected by the policy

HeaderManipulationPolicyStatus.WorkspacesEntry

Field Description
key (string)

value (common.gloo.solo.io.WorkspaceStatus)