From 8188859e4ac610bcd8d33e3c53a84a00b705f295 Mon Sep 17 00:00:00 2001 From: Wolfgang Karall-Ahlborn Date: Wed, 9 Dec 2020 10:09:23 +0100 Subject: [PATCH] add 'Submitted headers' to bottom of page --- mha/server.py | 2 +- mha/templates/index.html | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/mha/server.py b/mha/server.py index 4177e3d..154d48e 100644 --- a/mha/server.py +++ b/mha/server.py @@ -198,7 +198,7 @@ def index(): 'DKIM-Signature', 'ARC-Authentication-Results'] return render_template( 'index.html', data=r, delayed=delayed, summary=summary, - n=n, chart=chart, security_headers=security_headers) + n=n, chart=chart, security_headers=security_headers, mail_data=mail_data) else: return render_template('index.html') diff --git a/mha/templates/index.html b/mha/templates/index.html index 2faa54f..5181f22 100644 --- a/mha/templates/index.html +++ b/mha/templates/index.html @@ -177,6 +177,14 @@

Other headers

+
+
+

Submitted headers

+
+
+{{ mail_data }}
+            
+
{% else %}