mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-29 15:51:27 +00:00
22 lines
556 B
Plaintext
22 lines
556 B
Plaintext
#
|
|
# We should see an updated sync token here.
|
|
#
|
|
TYPE=REPORT
|
|
URL=http://regression.host/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"/
|