fix patch gateway feat/phase-2g-bundle
AI Agent git-import/068377df · 124 days ago · Mar 24, 2026 · Diff

fix(gateway): strip Content-Encoding when proxying bridge (ERR_CONTENT_DECODING_FAILED)

proxyTo used upstream.text() (decoded body) but forwarded bridge headers including Content-Encoding: br. Browsers then tried to brotli-decode plain JSON → net::ERR_CONTENT_DECODING_FAILED and Failed to fetch. Apply same decoded-body header filter to proxyToCanister.

sha256:d7cbbd4254ecc5da238f918a521f5a9c1f835b1b7ef4ba289da10612e04df125 sha
sha256:cd16d51f5f5015d7eb3c0d0396410eac5cac9b1dc2f4271c3445f9f48d49f630 snapshot
← Older Oldest on feat/phase-2g-bundle
All commits
Newer → Latest on feat/phase-2g-bundle

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:d7cbbd4254ecc5da238f918a521f5a9c1f835b1b7ef4ba289da10612e04df125 --body "your comment"