From 922ef93b2f6df2e9160dd4c435b23d6f49fa2c34 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Thu, 6 Oct 2022 07:34:46 +0200 Subject: [PATCH] Fix proxy response on failed hasJoined --- proxy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proxy.py b/proxy.py index 9198e12..c6384a0 100755 --- a/proxy.py +++ b/proxy.py @@ -189,7 +189,8 @@ class AltAuthRequestHandler(BaseHTTPRequestHandler): except BaseException as e: self.log_message("Exception handling request: %s", format_exc()) - self.send_response(HTTPStatus.FORBIDDEN) + # 204 matches failure response for hasJoined + self.send_response(HTTPStatus.NO_CONTENT) self.end_headers() def log_request(self, code='-', size='-'):