Changed
- Only consider the HTTP status code
200as an indication of success. We won't try to process the HTTP response body otherwise.
Added
- Check for empty/invalid HTTP response body to report meaningful errors instead of null pointer exceptions during deserialization.