diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-06-10 11:20:28 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-06-10 11:21:02 +0300 |
commit | 85c12bbb1d384263ac46fc9ac8bcb4dfc29d8c37 (patch) | |
tree | fd9ae09f03953294307db8486c885d30f5ba7fe0 /muck_poc | |
parent | c6afe5d6597d3648bc1c6bc2e25102cad05b2227 (diff) | |
download | muck-poc-85c12bbb1d384263ac46fc9ac8bcb4dfc29d8c37.tar.gz |
Fix: typo in log message
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 |