Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should stream / iter_contents be used when using Download #5

Closed
dhermes opened this issue Apr 24, 2017 · 0 comments
Closed

Should stream / iter_contents be used when using Download #5

dhermes opened this issue Apr 24, 2017 · 0 comments
Assignees
Labels
download type: question Request for information or clarification. Not an issue.

Comments

@dhermes
Copy link
Contributor

dhermes commented Apr 24, 2017

The primary motivation is that users could avoid putting the contents into RAM all at once and just flush right to disk (Context). requests has support for a "lazy" response body.

/cc @lukesneeringer @jonparrott @tseaver


It's worth noting that I have a goal of making google.resumable_media.FOO subpackages that explicitly support a given transport (mentioned in first release notes). Once something like this exists, it makes more sense to add in transport-specific optimizations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
download type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

2 participants