static HttpResponse of(CompletableFuture<? extends HttpResponse> future) {
        requireNonNull(future, "future");
        return createHttpResponseFrom(future);
    }
Creates a new HTTP response that delegates to the {@link HttpResponse} produced by the specified
{@link CompletableFuture}. If the specified {@link CompletableFuture} fails, the returned response will
be closed with the same cause as well.

@param future the {@link CompletableFuture} which will produce the actual {@link HttpResponse}
core/src/main/java/com/linecorp/armeria/common/HttpResponse.java