You don't have to check the `xhr.status`, this is already resolved by the `HttpRequest.sendRequest` (check the implementation).