Closed astralbodies closed 8 years ago
Fixes #54
Turns out I was not verifying that the HTTP response code was valid - I had assumed NSURLSession turned a non-2xx response into an NSError. Oops.
This fixes that, adds an additional check looking for "Success" and unit tests to validate the changes.
"Success"
Needs Review: @SergioEstevao
:shipit:
Fixes #54
Turns out I was not verifying that the HTTP response code was valid - I had assumed NSURLSession turned a non-2xx response into an NSError. Oops.
This fixes that, adds an additional check looking for
"Success"
and unit tests to validate the changes.Needs Review: @SergioEstevao