private static Response createResponse(int code, List<Cookie> cookies) {
        Response response = new Response(code);
        List<String> setCookieHeaders = Cookie.toSetCookieHeaders(cookies);
        response.headers().add("Set-Cookie", setCookieHeaders);
        return response;
    }
Helper methods for auth0/okta request filters.

@author valerijf
container-core/src/main/java/com/yahoo/jdisc/http/filter/util/FilterUtils.java