Cast request headers to dict before adding them to the event
This commit is contained in:
parent
fddf2006e4
commit
ef63c3769e
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ def _hook(hook_name):
|
|||
'method': request.method,
|
||||
'args': dict(request.args or {}),
|
||||
'data': request.data.decode(),
|
||||
'headers': request.headers,
|
||||
'headers': dict(request.headers or {}),
|
||||
}
|
||||
|
||||
if event_args['data']:
|
||||
|
|
Loading…
Reference in a new issue