api: drop body from context reporting
Some API methods have sensitive information in the body of the call. Stop logging the body unconditionally.
This commit is contained in:
parent
f316ea5e06
commit
07b8b50399
|
@ -98,8 +98,7 @@ def _make_handler(controller, definition, implementation, serializer):
|
|||
definition.__qualname__, check_def_sig, check_impl_sig)
|
||||
|
||||
async def handler(request):
|
||||
context = controller.context.child(
|
||||
implementation.__name__, trim(await request.text()))
|
||||
context = controller.context.child(implementation.__name__)
|
||||
with context:
|
||||
context.set('request', request)
|
||||
args = {}
|
||||
|
|
Loading…
Reference in New Issue