Skip to content

Rhosdt 3.10 encoding#2

Merged
rubenvp8510 merged 3 commits into
os-observability:rhosdt-3.10from
andreasgerstmayr:rhosdt-3.10-encoding
Jun 25, 2026
Merged

Rhosdt 3.10 encoding#2
rubenvp8510 merged 3 commits into
os-observability:rhosdt-3.10from
andreasgerstmayr:rhosdt-3.10-encoding

Conversation

@andreasgerstmayr

Copy link
Copy Markdown

Cherry-pick observatorium#908 into rhosdt-3.10

…(e.g. zstd)

Previously, the reverse proxy forwarded the browser's Accept-Encoding
header to Tempo. If the browser advertised an encoding we couldn't
decompress (e.g. zstd), the response arrived in that encoding and
our ModifyResponse handlers failed to read it.

Now we clear Accept-Encoding before the request reaches Tempo and let
gzhttp.Transport set only the encodings it can transparently decompress,
removing the manual gzip/deflate decompression in ModifyResponse handlers.

Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>
Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>
Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>
@rubenvp8510 rubenvp8510 merged commit a5911d3 into os-observability:rhosdt-3.10 Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants