summaryrefslogtreecommitdiff
path: root/contrib/caldav/calcurse-caldav.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/caldav/calcurse-caldav.py')
-rwxr-xr-xcontrib/caldav/calcurse-caldav.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/caldav/calcurse-caldav.py b/contrib/caldav/calcurse-caldav.py
index 5c028bf..9689831 100755
--- a/contrib/caldav/calcurse-caldav.py
+++ b/contrib/caldav/calcurse-caldav.py
@@ -149,8 +149,12 @@ def get_etags(conn, hrefs=[]):
body = ('<?xml version="1.0" encoding="utf-8" ?>'
'<C:calendar-query xmlns:D="DAV:" '
' xmlns:C="urn:ietf:params:xml:ns:caldav">'
- '<D:prop><D:getetag /></D:prop>'
- '<C:filter><C:comp-filter name="VCALENDAR" /></C:filter>'
+ '<D:prop><D:getetag/></D:prop>'
+ '<C:filter><C:comp-filter name="VCALENDAR">'
+ '<C:comp-filter name="VEVENT"/><C:comp-filter name="VALARM"/>'
+ '<C:comp-filter name="VJOURNAL"/><C:comp-filter name="VTODO"/>'
+ '<C:comp-filter name="VFREEBUSY"/>'
+ '<C:comp-filter name="VTIMEZONE"/></C:comp-filter></C:filter>'
'</C:calendar-query>')
headers, body = remote_query(conn, "REPORT", path, {}, body)
if not headers: