sharing: add hook for POST

This commit is contained in:
Peter Bieringer
2026-02-24 06:45:35 +01:00
parent 1451be9ded
commit 8ea2afe0fe

View File

@@ -30,4 +30,6 @@ class ApplicationPartPost(ApplicationBase):
"""Manage POST request."""
if path == "/.web" or path.startswith("/.web/"):
return self._web.post(environ, base_prefix, path, user)
elif path == "/.sharing" or path.startswith("/.sharing/"):
return self._sharing.post(environ, base_prefix, path, user)
return httputils.METHOD_NOT_ALLOWED