private HttpRequest request(HttpRequest.Builder request, Method method, MultiPartStreamer data) {
        return request(request.setHeader("Content-Type", data.contentType()), method, data::data);
    }
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