From e6e728d89b7eb06b0878fcd73dbf4ab38cfe4ec1 Mon Sep 17 00:00:00 2001 From: Evgeny Sorokin Date: Wed, 3 Apr 2024 04:15:52 +0300 Subject: web_kbn: debug.cgi: include headers as a simple dict --- bin/web_kbn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3