mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Fix OPTIONS requests
This commit is contained in:
parent
4fa53d15b3
commit
3ddbb80674
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ class Application(object):
|
||||||
log.LOGGER.info("%s has NO access to item %s" % (
|
log.LOGGER.info("%s has NO access to item %s" % (
|
||||||
user, item.name or "/"))
|
user, item.name or "/"))
|
||||||
|
|
||||||
if allowed_items:
|
if allowed_items or function == self.options:
|
||||||
# Collections found
|
# Collections found
|
||||||
status, headers, answer = function(
|
status, headers, answer = function(
|
||||||
environ, allowed_items, content, user)
|
environ, allowed_items, content, user)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue