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

Make StreamingBody a context manager #1197

Closed
cbare opened this issue May 15, 2017 · 4 comments
Closed

Make StreamingBody a context manager #1197

cbare opened this issue May 15, 2017 · 4 comments
Labels
feature-request This issue requests a feature.

Comments

@cbare
Copy link

cbare commented May 15, 2017

Would it be helpful to make StreamingBody a context manager by adding #an __exit__(...) method?

@stealthycoin
Copy link
Contributor

Marking this as a feature request.

@CMCDragonkai
Copy link

This would be useful.

@dlm6693
Copy link
Contributor

dlm6693 commented May 23, 2022

This functionality has now been added. See #2677 for implementation details.

@dlm6693 dlm6693 closed this as completed May 23, 2022
@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request This issue requests a feature.
Projects
None yet
Development

No branches or pull requests

4 participants