static void printAllCookies() { pcall { Iterable it = cast getCookieHandler(); if (it == null) { print("No cookie handler."); ret; } print("Cookies:"); for (S name : it) print(" " + name + " = " + getCookie(name)); print(); print("Cookie Queue:"); for (O cookie : (L) get(getCookieHandler(), "queue")) print(" " + call(cookie, "getHTTPHeader")); print(); } }