From 9bd269c26a02d94f16d7c39f3cb0a4cd46bb40b1 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 20 Jan 2013 22:37:43 +1300 Subject: Add support for client certificates - pathod request logs now include a clientcert member with details on the client cert, or None if there wasn't one. - pathoc has a -C option to specify a client certificate --- libpathod/templates/log.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'libpathod/templates/log.html') diff --git a/libpathod/templates/log.html b/libpathod/templates/log.html index 22747e0e..19468d66 100644 --- a/libpathod/templates/log.html +++ b/libpathod/templates/log.html @@ -17,9 +17,13 @@ {% for i in log %} - {{ i["id"] }} - {{ i["request"]["method"] }} - {{ i["request"]["path"] }} + {% if i["type"] == 'error' %} + ERROR: {{ i["msg"] }} + {% else %} + {{ i["id"] }} + {{ i["request"]["method"] }} + {{ i["request"]["path"] }} + {% endif %} {% endfor %} -- cgit v1.2.3