aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Sorokin <me@ch1p.io>2024-04-03 04:15:52 +0300
committerEvgeny Sorokin <me@ch1p.io>2024-04-03 04:15:52 +0300
commite6e728d89b7eb06b0878fcd73dbf4ab38cfe4ec1 (patch)
tree5270e22a973b3d17662a6de81592a2dec04130f4
parent86191fd652b2a084fe8881c80bcc915dbc5e9657 (diff)
web_kbn: debug.cgi: include headers as a simple dict
-rwxr-xr-xbin/web_kbn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/web_kbn.py b/bin/web_kbn.py
index 0e7d3fb..48af167 100755
--- a/bin/web_kbn.py
+++ b/bin/web_kbn.py
@@ -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,