From 68a1a710feaed83155deeac01cdca319776fa0ec Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 28 Sep 2020 15:20:36 +0100 Subject: [PATCH] Check for http --- daemon.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/daemon.py b/daemon.py index ab4450ed2..429637f93 100644 --- a/daemon.py +++ b/daemon.py @@ -9128,6 +9128,8 @@ class PubServer(BaseHTTPRequestHandler): """ if self.server.defaultTimeline != 'inbox': return + if not self._requestHTTP(): + return # make a copy of the headers currHeaders = self.headers.items() @@ -9151,6 +9153,8 @@ class PubServer(BaseHTTPRequestHandler): """ if boxName != 'inbox': return + if not self._requestHTTP(): + return self._showInbox(authorized, callingDomain, self.path, self.server.baseDir,