fix(push/stream): _WireResponse must subclass Response for FastAPI ASGI dispatch
FastAPI only calls __call__(scope, receive, send) on objects that are isinstance(x, Response). Without the subclass, FastAPI JSON-serializes _WireResponse() to {} and sends a tiny 200 that closes the connection mid-upload — causing broken pipe on the client and an empty body on the server. All the nginx/gRPC body delivery debugging was downstream of this.
sha256:97db8e32fc3ffb188331c1e5d7b6239f373d76f04d7de67f66cef99489086c4a
sha
sha256:cb442cb013df22ca681d1c1e20d286a65a899e914aa5e08787b94fe58e4a649a
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:97db8e32fc3ffb188331c1e5d7b6239f373d76f04d7de67f66cef99489086c4a --body "your comment"
No comments yet. Be the first to start the discussion.