mirror of https://gitlab.com/bashrc2/epicyon
Return http code if not authorized
parent
336c7e8bbb
commit
6ee7f2bfbf
|
@ -10713,7 +10713,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
msglen, None, callingDomain)
|
msglen, None, callingDomain)
|
||||||
self._write(msg)
|
self._write(msg)
|
||||||
return
|
return
|
||||||
self.path = '/'
|
self._400()
|
||||||
|
return
|
||||||
|
|
||||||
# minimal mastodon api
|
# minimal mastodon api
|
||||||
if self._mastoApi(self.path, callingDomain, authorized,
|
if self._mastoApi(self.path, callingDomain, authorized,
|
||||||
|
|
Loading…
Reference in New Issue