public int hashCode() {
        // not used, only here to match equals() and avoid lint warning
        return toString(true).hashCode();
    }
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