mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-17 01:20:24 +00:00
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.
22 lines
549 B
Plaintext
22 lines
549 B
Plaintext
#
|
|
# We should see an updated sync token here.
|
|
#
|
|
TYPE=REPORT
|
|
URL=http://mycaldav/caldav.php/user1/addressbook/
|
|
HEADER=User-agent: sync-collection changes REPORT
|
|
HEADER=Content-type: text/xml
|
|
HEAD
|
|
|
|
BEGINDATA
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
<D:sync-collection xmlns:D="DAV:">
|
|
<D:sync-token>data:,41</D:sync-token>
|
|
<D:prop>
|
|
<D:getetag/>
|
|
</D:prop>
|
|
</D:sync-collection>
|
|
ENDDATA
|
|
|
|
REPLACE=/<get.tag>"[0-9a-f]{32}"<.get.tag>/<get?tag>"deadbeefcafef00ddeadbeefcafefeed"<.get?tag>/
|
|
REPLACE=/^ETag: "[0-9a-f]+"\s$/ETag: "a fine looking etag"/
|