public static void sendRedirectResponse(ResponseHandler handler, List<Cookie> cookies, String location) {
        Response response = createResponse(Response.Status.FOUND, cookies);
        response.headers().add("Location", location);
        handler.handleResponse(response).close(null);
    }
Helper methods for auth0/okta request filters.

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