main
Bob Mottram 2020-02-21 11:24:35 +00:00
parent df3531d0b1
commit e72bf84d8b
1 changed files with 6 additions and 8 deletions

View File

@ -908,11 +908,10 @@ class PubServer(BaseHTTPRequestHandler):
# check authorization
authorized = self._isAuthorized()
if authorized:
if self.server.debug:
if self.server.debug:
if authorized:
print('GET Authorization granted')
else:
if self.server.debug:
else:
print('GET Not authorized')
self._benchmarkGETtimings(GETstartTime,GETtimings,5)
@ -3874,11 +3873,10 @@ class PubServer(BaseHTTPRequestHandler):
# check authorization
authorized = self._isAuthorized()
if authorized:
if self.server.debug:
if self.server.debug:
if authorized:
print('POST Authorization granted')
else:
if self.server.debug:
else:
print('POST Not authorized')
print(str(self.headers))