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

Improve and document response handling #28

Merged
merged 1 commit into from
Apr 16, 2024
Merged

Conversation

francescomari
Copy link
Collaborator

Improve the error handling when closing the response body by not discarding an error, and add a comment about the importance of reading the whole response for an HTTP client.

@telegrapher telegrapher merged commit ec301c6 into master Apr 16, 2024
10 checks passed
@francescomari francescomari deleted the response-handling branch April 16, 2024 12:02
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.

2 participants