extend app calls with remote host+useragent

This commit is contained in:
Peter Bieringer
2025-11-16 17:06:00 +01:00
parent 85f1850b19
commit 1c7ff414a9
13 changed files with 16 additions and 16 deletions

View File

@@ -371,7 +371,7 @@ class Application(ApplicationPartDelete, ApplicationPartHead,
if not login or user:
status, headers, answer = function(
environ, base_prefix, path, user)
environ, base_prefix, path, user, remote_host, remote_useragent)
if (status, headers, answer) == httputils.NOT_ALLOWED:
logger.info("Access to %r denied for %s", path,
repr(user) if user else "anonymous user")