mirror of
https://github.com/emmett-framework/granian.git
synced 2025-07-07 19:35:33 +00:00
Fix ASGI access logs missing method with websockets (#424)
This commit is contained in:
parent
f5f6e690d3
commit
261ceba3fd
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ def _build_access_logger(fmt):
|
|||
'protocol': 'HTTP/' + scope['http_version'],
|
||||
'path': scope['path'],
|
||||
'qs': scope['query_string'],
|
||||
'method': scope['method'],
|
||||
'method': scope.get('method', '-'),
|
||||
'scheme': scope['scheme'],
|
||||
},
|
||||
resp_code,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue