From 217859bf5e4e8803274a28e00d6c89618cbb51a9 Mon Sep 17 00:00:00 2001 From: Unrud Date: Wed, 7 Jun 2017 14:13:12 +0200 Subject: [PATCH] Fix empty REPORT requests --- radicale/xmlutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/xmlutils.py b/radicale/xmlutils.py index 248cd8f..b48dfbd 100644 --- a/radicale/xmlutils.py +++ b/radicale/xmlutils.py @@ -997,7 +997,7 @@ def report(base_prefix, path, xml_request, collection): """ multistatus = ET.Element(_tag("D", "multistatus")) if xml_request is None: - return multistatus + return client.MULTI_STATUS, multistatus root = xml_request if root.tag in ( _tag("D", "principal-search-property-set"),