Skip to content

feat: add streaming download functionality for large files in AsyncFiles class#109

Open
kryachkow wants to merge 1 commit into
epam:developmentfrom
kryachkow:feat/91-streaming-downloads
Open

feat: add streaming download functionality for large files in AsyncFiles class#109
kryachkow wants to merge 1 commit into
epam:developmentfrom
kryachkow:feat/91-streaming-downloads

Conversation

@kryachkow

@kryachkow kryachkow commented Jun 11, 2026

Copy link
Copy Markdown

Applicable issues

#91

Description of changes

  • Added true async HTTP streaming support in AsyncHTTPClient via a new stream(...) context manager that uses stream=True and closes responses safely.
  • Added AsyncFiles.stream_download(...) to stream file downloads incrementally (without full buffering) while preserving existing error handling.
  • Added README example for stream_download() usage on large async downloads.
  • Added tests validating streamed chunk iteration, stream=True request behavior, response cleanup, and directory URL validation.

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@kryachkow kryachkow requested a review from adubovik as a code owner June 11, 2026 09:04
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