public boolean equals(Object o) {
        // Equals is only used for debugging as far as we know. Refer to verbose toString to simplify
        if (o instanceof HttpRequest) {
            return toString(true).equals(((HttpRequest) o).toString(true));
        }
        return false;
    }
Create a copy of this request, and override what is specified in the input in the new request.
clustercontroller-utils/src/main/java/com/yahoo/vespa/clustercontroller/utils/communication/http/HttpRequest.java