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

The caller must close the response body when finished with it: #4

Open
admin-else opened this issue Jul 29, 2024 · 1 comment
Open

Comments

@admin-else
Copy link

You forgot to close the http.Response body with defer response.Body.Close().
just insert defer response.Body.Close() on line 284.

@svedi
Copy link
Collaborator

svedi commented Jul 29, 2024

Hi, thanks for this feedback. You are correct that we should call Close() on the body. We will release a fix to this shortly.

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

No branches or pull requests

2 participants