From c417f18c6541a800d357067d8e4fb11fff4ea590 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 10 Nov 2019 12:00:05 +0000 Subject: [PATCH] More debug --- daemon.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/daemon.py b/daemon.py index dc05778c..48e8ca34 100644 --- a/daemon.py +++ b/daemon.py @@ -2632,7 +2632,12 @@ class PubServer(BaseHTTPRequestHandler): # 1 = new post success # -1 = new post failed # 2 = new post canceled + if self.server.debug: + print('DEBUG: receiving POST') + if ' boundary=' in headers['Content-Type']: + if self.server.debug: + print('DEBUG: receiving POST headers '+headers['Content-Type']) nickname=None nicknameStr=path.split('/users/')[1] if '/' in nicknameStr: