diff options
Diffstat (limited to 'muck_poc')
-rwxr-xr-x | muck_poc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -80,6 +80,10 @@ class MuckAPI: try: rr = bottle.request logging.info('Request: %s %s', rr.method, rr.path) + logging.debug('Request headers:') + for h in rr.headers: + logging.debug(' %s: %r', h, rr.headers[h]) + logging.debug('End of request headers') r = muck.Request(method=rr.method) r.add_headers(rr.headers) if self._ac.request_is_allowed(r, req_method, [req_scope]): @@ -229,7 +233,7 @@ class MuckAPI: logging.info( 'Pretending to be %s (claims: %r)', claims['sub'], claims) else: - logging.info('Reuqest by normal user') + logging.info('Request by normal user') return claims |