private static String asString(HttpResponse<byte[]> response) {
        return new String(response.body(), UTF_8);
    }
Returns the response body as a String, or throws if the status code is non-2XX.
hosted-api/src/main/java/ai/vespa/hosted/api/ControllerHttpClient.java