web_kbn: debug.cgi: include headers as a simple dict

This commit is contained in:
Evgeny Sorokin 2024-04-03 04:15:52 +03:00
parent 86191fd652
commit e6e728d89b

View File

@ -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,