mirror of https://gitlab.com/bashrc2/epicyon
Simplify
parent
bbaa8ac841
commit
cb533b1222
|
@ -5786,9 +5786,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
|
|
||||||
# check authorization
|
# check authorization
|
||||||
authorized = self._isAuthorized()
|
authorized = self._isAuthorized()
|
||||||
if authorized:
|
if not authorized:
|
||||||
print('POST Authorization granted')
|
|
||||||
else:
|
|
||||||
print('POST Not authorized')
|
print('POST Not authorized')
|
||||||
print(str(self.headers))
|
print(str(self.headers))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue