aurelia / http-client

A simple, restful, message-based wrapper around XMLHttpRequest.
MIT License
62 stars 59 forks source link

fix(http-response-message): handle empty responses #156

Closed derekpitt closed 8 years ago

derekpitt commented 8 years ago

In the senerio where an API returns a 204 No Content we don't try to JSON parse and empty string.

this is also the same exact commit @maverix made, but added a test.. it didn't break any existing tests...

EisenbergEffect commented 8 years ago

Thanks!