Skip to content

feat(node): stream request bodies - #516

Open
barjin wants to merge 1 commit into
feat/python-streaming-bodiesfrom
feat/node-streaming-bodies
Open

feat(node): stream request bodies#516
barjin wants to merge 1 commit into
feat/python-streaming-bodiesfrom
feat/node-streaming-bodies

Conversation

@barjin

@barjin barjin commented Aug 13, 2026

Copy link
Copy Markdown
Member

Streamed bodies (ReadableStream, Node streams, async iterables) are now passed to the native layer as a pull callback, so they reach the connection as they are produced instead of being buffered up front.

Stacked on #514. Related: #513

@barjin
barjin force-pushed the feat/node-streaming-bodies branch 2 times, most recently from b6f4f66 to 911cb1d Compare August 13, 2026 11:11
@barjin
barjin changed the base branch from feat/rust-streaming-bodies to feat/python-streaming-bodies August 13, 2026 11:11
@barjin
barjin force-pushed the feat/node-streaming-bodies branch from 911cb1d to 52e919c Compare August 13, 2026 11:24
`ReadableStream`, Node stream and async iterable bodies are handed to the
native layer as a pull callback instead of being read to completion first,
so the chunks reach the connection as they are produced. Redirects that
would have to resend such a body now throw, as the body can't be replayed.

Related: #513
@barjin
barjin force-pushed the feat/node-streaming-bodies branch from 52e919c to fcc64d9 Compare August 13, 2026 11:26
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