mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Initial support for draft-daboo-webdav-sync-01
This commit is contained in:
1 parent
64571a284e
commit
24a8971080
13 files changed
+917
-83
No files matched your search
@@ -0,0 +1,21 @@
|
||||
HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
ETag: "d668266633188d6d2690a2eb491bba0c"
|
||||
Content-Length: 404
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<multistatus xmlns="DAV:">
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/3F4CF6227300FD062D9EF3CDFB30D32D-0.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"2c32a2f8aba853654eb17fe037a4db4d"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-token>1</sync-token>
|
||||
</multistatus>
|
||||
@@ -0,0 +1,19 @@
|
||||
#
|
||||
# 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 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:prop>
|
||||
</D:sync-collection>
|
||||
ENDDATA
|
||||
|
||||
@@ -0,0 +1,161 @@
|
||||
HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
ETag: "7ab7cf2174a67bf4fc26271956be7d90"
|
||||
Content-Length: 4528
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<multistatus xmlns="DAV:">
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/AAA9318E-37D9-4319-8626-95ECD3D3B243.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"5f050eca5480bbebbe9428222570913d"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/da81c0ee-7871-11db-c6d6-f6927c144649.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"421abf7e4848d2fecbf64217ed205d4b"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/71e2ae82-7870-11db-c6d6-f6927c144649.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"0d7a68984bf525342d22b8924a57e8e2"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/e6eb5bc9-f7f9-4a0a-94e8-8e90eefc7d08.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"8f581a053df6d833254756dfd7553d37"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/e70576e9-c1e0-431e-a507-0386fd82f223.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"e8060931f30c1798ac58ffbe4ec0bffc"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/b1679f77-673d-4f46-b3eb-2420e1bba301.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"a2990674708634a311bb98a59865ca50"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/0575d895-a006-4ed8-9be6-0d1b6b6b1f96.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"00ad5eb1eb5507884710b0b66aa5d5c4"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/917b9e47-b748-4550-a566-657fbe672447.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"cb3d9dc3e8c157f53eba3ea0e1e0f146"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/2178279a-aec2-471f-832d-1f6df6203f2f.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"509b0f0d8a3363379f9f5727f5dd74a0"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/fbd57454-d966-4a14-8341-abe1edb1ae66.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"ac90acd649c25070b1a2a17fb31a105a"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/1906b3ca-4890-468a-9b58-1de74bf2c716.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"5def8ae2b20893a1c7f4dbaeb008f2f1"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/9d050be7-8a02-4355-8ed3-02a9fc5f473f.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"08a435c2abaf38f4a50a997343c098a7"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/4aaf8f37-f232-4c8e-a72e-e171d4c4fe54.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"a1c6404d61190f9574e2bfd69383f144"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/20061101T073004Z.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"c3658901fd4689d4a1e1d6f08601ef4f"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/3F4CF6227300FD062D9EF3CDFB30D32D-0.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"2c32a2f8aba853654eb17fe037a4db4d"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-token>2</sync-token>
|
||||
</multistatus>
|
||||
@@ -0,0 +1,19 @@
|
||||
#
|
||||
# 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 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:prop>
|
||||
</D:sync-collection>
|
||||
ENDDATA
|
||||
|
||||
@@ -0,0 +1,161 @@
|
||||
HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
ETag: "1e80e92dfce8e43ed452a56e350b577b"
|
||||
Content-Length: 4525
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<multistatus xmlns="DAV:">
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/20061101T073004Z.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"c3658901fd4689d4a1e1d6f08601ef4f"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/4aaf8f37-f232-4c8e-a72e-e171d4c4fe54.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"a1c6404d61190f9574e2bfd69383f144"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/9d050be7-8a02-4355-8ed3-02a9fc5f473f.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"08a435c2abaf38f4a50a997343c098a7"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/1906b3ca-4890-468a-9b58-1de74bf2c716.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"5def8ae2b20893a1c7f4dbaeb008f2f1"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/fbd57454-d966-4a14-8341-abe1edb1ae66.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"ac90acd649c25070b1a2a17fb31a105a"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/2178279a-aec2-471f-832d-1f6df6203f2f.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"509b0f0d8a3363379f9f5727f5dd74a0"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/917b9e47-b748-4550-a566-657fbe672447.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"cb3d9dc3e8c157f53eba3ea0e1e0f146"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/0575d895-a006-4ed8-9be6-0d1b6b6b1f96.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"00ad5eb1eb5507884710b0b66aa5d5c4"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/b1679f77-673d-4f46-b3eb-2420e1bba301.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"a2990674708634a311bb98a59865ca50"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/e70576e9-c1e0-431e-a507-0386fd82f223.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"e8060931f30c1798ac58ffbe4ec0bffc"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/e6eb5bc9-f7f9-4a0a-94e8-8e90eefc7d08.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"8f581a053df6d833254756dfd7553d37"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/71e2ae82-7870-11db-c6d6-f6927c144649.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"0d7a68984bf525342d22b8924a57e8e2"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/da81c0ee-7871-11db-c6d6-f6927c144649.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"421abf7e4848d2fecbf64217ed205d4b"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/AAA9318E-37D9-4319-8626-95ECD3D3B243.ics</href>
|
||||
<status>HTTP/1.1 201 Created</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"5f050eca5480bbebbe9428222570913d"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-response>
|
||||
<href>/caldav.php/user1/home/AAA9318E-37D9-4319-8626-95ECD3D3B243.ics</href>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"5f050eca5480bbebbe9428222570913d"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</sync-response>
|
||||
<sync-token>3</sync-token>
|
||||
</multistatus>
|
||||
@@ -0,0 +1,19 @@
|
||||
#
|
||||
# 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
|
||||
|
||||
BEGINDATA
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<D:sync-collection xmlns:D="DAV:">
|
||||
<D:sync-token>1</D:sync-token>
|
||||
<D:prop>
|
||||
<D:getetag/>
|
||||
</D:prop>
|
||||
</D:sync-collection>
|
||||
ENDDATA
|
||||
|
||||
Reference in new issue
Block a user