with http protocol, if fail, resp.features will be emtpy so, as @mpriour says, the check isn't necessary