envoyproxy/gateway

Compression Content Type configuration

Open

#9,511 opened on Jul 16, 2026

View on GitHub
 (1 comment) (0 reactions) (1 assignee)Go (802 forks)auto 404
help wanted

Repository metrics

Stars
 (2,871 stars)
PR merge metrics
 (PR metrics pending)

Description

Description: Currently when you enable compression on envoy gateway there is no way how to configure allowed content types for the compression. From the envoy proxy docs we are getting default list of content types which have to match otherwise compression is completely ignored. Envoy gateway already exposes config for minContentLength but Content Type is missing.

Currently to allow custom content types outside of the default list I have to generate envoy patch policy in addition to the BTP compressor section.

[optional Relevant Links:]

See here: https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/http/compressor/v3/compressor.proto.html

Contributor guide