removed statusCode lookup on undefined response