if (contentType == null || contentType.length() == 0) {
contentType = "";
}
for (String k : req.headers.keySet()) {
Header h = req.headers.get(k);
System.out.println("... " + h.name + ":" + URLDecoder.decode(h.value(), "utf-8"));
}
// cookie is already in the headers
// for (String ck : req.cookies.keySet()) {
// Cookie c = req.cookies.get(ck);
// System.out.println("... cookie --> " + c.name + ":" +