Fix proxy response on failed hasJoined
Dieser Commit ist enthalten in:
Ursprung
dbbeb69526
Commit
922ef93b2f
3
proxy.py
3
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='-'):
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren