@Override
    public HttpRequest withHeaders(RequestHeaders newHeaders) {
        requireNonNull(newHeaders, "newHeaders");
        if (headers == newHeaders) {
            return this;
        }

        if (delegate.headers() == newHeaders) {
            return delegate;
        }

        return delegate.withHeaders(newHeaders);
    }
An {@link HttpRequest} that overrides the {@link RequestHeaders}.
core/src/main/java/com/linecorp/armeria/internal/common/HeaderOverridingHttpRequest.java