diff --git a/radicale/__init__.py b/radicale/__init__.py index c521c3a4..6d6b7c00 100644 --- a/radicale/__init__.py +++ b/radicale/__init__.py @@ -293,8 +293,8 @@ class Application(object): self.collect_allowed_items(items, user) if read_allowed_items or write_allowed_items or \ - function == self.options: - # Collections found, or OPTIONS request (always allowed) + function == self.options or not items: + # Collections found, or OPTIONS request, or no items at all status, headers, answer = function( environ, read_allowed_items, write_allowed_items, content, user)