From 6ee7f2bfbf1a554be14a38a9dc2f9b5542f9e174 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 25 Jul 2021 15:27:27 +0100 Subject: [PATCH] Return http code if not authorized --- daemon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index e7db68ba0..6dfdcc433 100644 --- a/daemon.py +++ b/daemon.py @@ -10713,7 +10713,8 @@ class PubServer(BaseHTTPRequestHandler): msglen, None, callingDomain) self._write(msg) return - self.path = '/' + self._400() + return # minimal mastodon api if self._mastoApi(self.path, callingDomain, authorized,