davical/testing/tests/regression-suite/1102-REPORT-sync-changed.test
Andrew McMillan 7c15051f84 Further fixes to WebDAV synchronization.
This should be fully reliable now and also cleans out all sync
changes more than one week old.  update-database is needed to pull
the new function.
2012-04-17 15:44:09 +12:00

24 lines
530 B
Plaintext

#
# Check for support of REPORT sync-collection with no sync-token
#
TYPE=REPORT
URL=http://mycaldav/caldav.php/user1/home/
HEADER=User-agent: sync-collection changes REPORT
HEADER=Content-type: text/xml
HEAD
# Should be no changes - we just requested this, after all.
# <calendar-data xmlns="urn:ietf:params:xml:ns:caldav"/>
BEGINDATA
<?xml version="1.0" encoding="utf-8" ?>
<sync-collection xmlns="DAV:">
<prop>
<getetag/>
<getlastmodified/>
</prop>
<sync-token>data:,36</sync-token>
</sync-collection>
ENDDATA