protected HttpRequest request(HttpRequest.Builder request, Method method, Supplier<InputStream> data) {
        return request.method(method.name(), ofInputStream(data)).build();
    }
Returns an authenticated request from the given input. Override this for, e.g., request signing.
hosted-api/src/main/java/ai/vespa/hosted/api/ControllerHttpClient.java