Skip to content

feat(ok_http): stream request body#1880

Open
mertalev wants to merge 3 commits intodart-lang:masterfrom
mertalev:feat/okhttp-stream-request
Open

feat(ok_http): stream request body#1880
mertalev wants to merge 3 commits intodart-lang:masterfrom
mertalev:feat/okhttp-stream-request

Conversation

@mertalev
Copy link

ok_http currently buffers requests, which introduces significant memory pressure when uploading files. This PR changes it to stream requests similar to how responses are streamed and handles abortion.

Based on #1879, which should be merged first to clean up the diff.


  • I’ve reviewed the contributor guide and applied the relevant portions to this PR.
Contribution guidelines:

Many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.

Note: The Dart team is trialing Gemini Code Assist. Don't take its comments as final Dart team feedback. Use the suggestions if they're helpful; otherwise, wait for a human reviewer.

regenerate bindings

update client

fix nullability change
handle abort
@mertalev mertalev mentioned this pull request Feb 16, 2026
1 task
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.

1 participant