Debug for GET authorization

main
Bob Mottram 2022-02-26 22:42:44 +00:00
parent 8b83d759a6
commit fdd86ee2e7
1 changed files with 3 additions and 2 deletions

View File

@ -14068,9 +14068,10 @@ class PubServer(BaseHTTPRequestHandler):
authorized = self._is_authorized()
if self.server.debug:
if authorized:
print('GET Authorization granted')
print('GET Authorization granted ' + self.path)
else:
print('GET Not authorized')
print('GET Not authorized ' + self.path + ' ' +
str(self.headers))
fitness_performance(getreq_start_time, self.server.fitness,
'_GET', 'isAuthorized',