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

@@ -142,7 +142,7 @@ def prepare(vobject_items: List[vobject.base.Component], path: str,
class ApplicationPartPut(ApplicationBase):
def do_PUT(self, environ: types.WSGIEnviron, base_prefix: str,
path: str, user: str) -> types.WSGIResponse:
path: str, user: str, remote_host: str, remote_useragent: str) -> types.WSGIResponse:
"""Manage PUT request."""
access = Access(self._rights, user, path)
if not access.check("w"):