davical/testing/tests/carddav/2010-REPORT-sync-initial.test
Andrew McMillan b80dd10c7b Add a configuration option to use the older 'sync-response' tag.
When the WebDAV sync draft first came out the responses were each
contained in a DAV::sync-response tag, but by -03 this has changed
to a DAV::response tag since the format of the tag contents now
match this existing tag structure.

Unfortunately some client software in the wild depends on this
being a DAV::sync-response so the config option is needed to
interoperate with this software.
2010-09-25 17:18:54 +12:00

21 lines
414 B
Plaintext

#
# Check for support of REPORT sync-collection with no sync-token
#
TYPE=REPORT
URL=http://mycaldav/caldav.php/user1/addressbook/
HEADER=User-agent: sync-collection initial REPORT
HEADER=Content-type: text/xml
HEAD
BEGINDATA
<?xml version="1.0" encoding="utf-8" ?>
<D:sync-collection xmlns:D="DAV:">
<D:sync-token/>
<D:prop>
<D:getetag/>
<D:getcontenttype/>
</D:prop>
</D:sync-collection>
ENDDATA