Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing #32 for incorrect handling http errors
This commit fix the error of rising a wrong HTTPParseException when trying to parse the body for non 200 response status code Now we first doublecheck the status codes for the response, and if it was a 200 then it will try to parse the body.
- Loading branch information
1 parent
555d383
commit 9383983
Showing
2 changed files
with
21 additions
and
27 deletions.
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