web_kbn: debug.cgi: stringify req.url

This commit is contained in:
Evgeny Sorokin 2024-04-03 04:09:14 +03:00
parent d03ff16b1a
commit 6efda94254

View File

@ -557,7 +557,7 @@ async def debug(req: web.Request):
info = dict( info = dict(
# headers=req.headers, # headers=req.headers,
host=req.headers.get('Host'), host=req.headers.get('Host'),
url=req.url, url=str(req.url),
method=req.method, method=req.method,
) )
return await http.ajax_ok(info) return await http.ajax_ok(info)