web_kbn: debug.cgi: include headers as a simple dict
This commit is contained in:
parent
86191fd652
commit
e6e728d89b
@ -555,7 +555,7 @@ async def routing_dhcp(req: web.Request):
|
||||
@routes.get('/debug.cgi')
|
||||
async def debug(req: web.Request):
|
||||
info = dict(
|
||||
# headers=req.headers,
|
||||
headers=dict(req.headers),
|
||||
host=req.headers.get('Host'),
|
||||
url=str(req.url),
|
||||
method=req.method,
|
||||
|
Loading…
x
Reference in New Issue
Block a user