From ac812cad6313b4de06789ba958968804f5b48a0f Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Mon, 6 Jul 2026 21:32:02 +0800 Subject: test again again --- main.py | 1 + 1 file changed, 1 insertion(+) (limited to 'main.py') diff --git a/main.py b/main.py index 60c6df4..00805f2 100644 --- a/main.py +++ b/main.py @@ -46,6 +46,7 @@ with open("index.html") as f: async def force_trailing_slash(request: fastapi.Request, call_next): path = request.url.path print("urlpath", path) + print("headers", request.headers) if not path.endswith("/") and not Path(path).suffix: new_url = str(request.url.replace(path=path + "/")) -- cgit v1.2.3