Conditionnal compression based on Content-Type
This commit is contained in:
parent
1f39083555
commit
3410541a2f
7 changed files with 143 additions and 25 deletions
|
@ -92,7 +92,9 @@ type CircuitBreaker struct {
|
|||
// +k8s:deepcopy-gen=true
|
||||
|
||||
// Compress holds the compress configuration.
|
||||
type Compress struct{}
|
||||
type Compress struct {
|
||||
ExcludedContentTypes []string `json:"excludedContentTypes,omitempty" toml:"excludedContentTypes,omitempty" yaml:"excludedContentTypes,omitempty" export:"true"`
|
||||
}
|
||||
|
||||
// +k8s:deepcopy-gen=true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue