fix
patch
gateway
feat/phase-2g-bundle
fix(gateway): strip stale body headers before upstream fetch
Forwarding the browser Content-Length after express.json() and JSON re-serialize (provenance merge) can leave a length that does not match the new body; Undici fetch may hang, so hosted create/save appeared to do nothing. Remove Content-Length, Transfer-Encoding, and Content-Encoding before fetch to the canister and bridge. Add regression tests and document in hub/gateway/README.md.
sha256:b15fe542f470a6f57200431f02c42a77b122bdb3b0f9df06d2fc1ef5051d61cd
sha
sha256:92df541a1c140dbbaab62693492fd830ea38202f54e9c2dd09bd760a10a15dd3
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:b15fe542f470a6f57200431f02c42a77b122bdb3b0f9df06d2fc1ef5051d61cd --body "your comment"
No comments yet. Be the first to start the discussion.