-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix NPE crash when body is null due to Http code 204 or 205 (#63)
* Fix NPE crash when body is null due to Http code 204 or 205 * Added more specification to the null body case to avoid any side effects * Codestyle * Avoid using reflections before it's actually needed. Added test case for code 205 also * Removed not needed empty map * Used cast instead * Extraced http codes to consts * Codestyle * Changed to correct http code --------- Co-authored-by: Messejana <jose.messejana@sky.uk>
- Loading branch information
1 parent
9ba4799
commit ca5cc5b
Showing
2 changed files
with
54 additions
and
0 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