headers.proto

Package: headers.plugins.gloo.solo.io

Types:

Source File: github.com/solo-io/gloo/projects/gloo/api/v1/plugins/headers/headers.proto

HeaderManipulation

This plugin provides configuration options to append and remove headers from requests and responses HeaderManipulation can be specified on routes, virtual hosts, or weighted destinations

"requestHeadersToAdd": []headers.plugins.gloo.solo.io.HeaderValueOption
"requestHeadersToRemove": []string
"responseHeadersToAdd": []headers.plugins.gloo.solo.io.HeaderValueOption
"responseHeadersToRemove": []string
Field Type Description Default
requestHeadersToAdd []headers.plugins.gloo.solo.io.HeaderValueOption Specifies a list of HTTP headers that should be added to each request handled by this route or virtual host. For more information, including details on header value syntax, see the Envoy documentation .
requestHeadersToRemove []string Specifies a list of HTTP headers that should be removed from each request handled by this route or virtual host.
responseHeadersToAdd []headers.plugins.gloo.solo.io.HeaderValueOption Specifies a list of HTTP headers that should be added to each response handled by this route or host. For more information, including details on header value syntax, see the Envoy documentation .
responseHeadersToRemove []string Specifies a list of HTTP headers that should be removed from each response handled by this route or virtual host.

HeaderValueOption

Header name/value pair plus option to control append behavior.

"header": .headers.plugins.gloo.solo.io.HeaderValue
"append": .google.protobuf.BoolValue
Field Type Description Default
header .headers.plugins.gloo.solo.io.HeaderValue Header name/value pair that this option applies to.
append .google.protobuf.BoolValue Should the value be appended? If true (default), the value is appended to existing values.

HeaderValue

Header name/value pair.

"key": string
"value": string
Field Type Description Default
key string Header name.
value string Header value.