-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: response body after HTTP error should be closed (#106)
* fix: (WIP) #102 close response body on error * test: adds basic test of close resp body * chore: fix linter issue * test: adds integration test of resp.Body.Close() on error * docs: update CHANGELOG.md * docs: update CHANGELOG.md * chore: refactor location of resp.Body.Close() * chore: remove unnecessary tests
- Loading branch information
1 parent
68a0862
commit 5671330
Showing
2 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters