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

[PoC] Use context manager requests #1340

Closed
wants to merge 1 commit into from

Conversation

florimondmanca
Copy link
Member

Proof-of-concept pull request, that installs HTTPCore against encode/httpcore#206 and demonstrates what would need to change to accomodate the new API.

This shouldn't be merged of course, but now I'm more confident that we can start by expecting the transport API to return either a response, or a response context manager, and optionally enter the context via an exit stack.

@florimondmanca florimondmanca changed the title Use context manager requests [PoC] Use context manager requests Oct 3, 2020
@florimondmanca
Copy link
Member Author

Closing in favor of #1341.

@florimondmanca florimondmanca deleted the fm/request-context-manager branch October 3, 2020 11:11
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