From 673d7f6075dfeeaf60b005a0799a37b31ef92d98 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 28 Sep 2020 14:19:52 +0100 Subject: [PATCH] Restore headers --- daemon.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/daemon.py b/daemon.py index 320fb6ed2..cc18ba52d 100644 --- a/daemon.py +++ b/daemon.py @@ -9279,7 +9279,7 @@ class PubServer(BaseHTTPRequestHandler): privateEvent = True # make a copy of the headers - # currHeaders = self.headers.items() + currHeaders = self.headers.items() # show a sending post screen msg = \ htmlSendingPost(self.server.baseDir, @@ -9287,10 +9287,10 @@ class PubServer(BaseHTTPRequestHandler): self._login_headers('text/html', len(msg), callingDomain) self._write(msg) # restore headers - # for headerField in currHeaders: - # fieldName = headerField[0] - # fieldValue = headerField[1] - # self.headers[fieldName] = fieldValue + for headerField in currHeaders: + fieldName = headerField[0] + fieldValue = headerField[1] + self.headers[fieldName] = fieldValue if postType == 'newpost': messageJson = \