From 3ddbb8067446c9470ca66427e9e6a03dbaee1a98 Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Thu, 9 Aug 2012 14:29:44 +0200 Subject: [PATCH] Fix OPTIONS requests --- radicale/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/__init__.py b/radicale/__init__.py index b44f5495..22f4db65 100644 --- a/radicale/__init__.py +++ b/radicale/__init__.py @@ -236,7 +236,7 @@ class Application(object): log.LOGGER.info("%s has NO access to item %s" % ( user, item.name or "/")) - if allowed_items: + if allowed_items or function == self.options: # Collections found status, headers, answer = function( environ, allowed_items, content, user)