We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4785d5a commit 7b04554Copy full SHA for 7b04554
api/adc/types.go
@@ -418,9 +418,9 @@ type RewriteConfig struct {
418
}
419
420
type Headers struct {
421
- Set map[string]string `json:"set" yaml:"set"`
422
- Add map[string]string `json:"add" yaml:"add"`
423
- Remove []string `json:"remove" yaml:"remove"`
+ Set map[string]string `json:"set,omitempty" yaml:"set,omitempty"`
+ Add map[string]string `json:"add,omitempty" yaml:"add,omitempty"`
+ Remove []string `json:"remove,omitempty" yaml:"remove,omitempty"`
424
425
426
// ResponseRewriteConfig is the rule config for response-rewrite plugin.
0 commit comments