mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-01 16:11:20 +00:00
This allows us to have more complex test files where an action is taken, then we test something, then another action is taken, etc. Changes to test files are required so that URL is defined after all the required settings are set. Changes to the result files are either whitespace changes due to above logic changes, or printing out a SQL Result header before each result. I figured it was useful.
205 lines
5.7 KiB
Plaintext
205 lines
5.7 KiB
Plaintext
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
|
|
DAV: extended-mkcol, bind, addressbook, calendar-auto-schedule, calendar-proxy
|
|
ETag: "looks like an etag"
|
|
Content-Length: 5572
|
|
Content-Type: text/xml; charset="utf-8"
|
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
<multistatus xmlns="DAV:">
|
|
<response>
|
|
<href>/caldav.php/user1/home/4aaf8f37-f232-4c8e-a72e-e171d4c4fe54.ics</href>
|
|
<propstat>
|
|
<prop>
|
|
<getcontenttype>text/calendar; component=vevent</getcontenttype>
|
|
<resourcetype/>
|
|
<getcontentlength>999</getcontentlength>
|
|
<displayname>Weekly Project Meeting</displayname>
|
|
<getlastmodified>Dow, 01 Jan 2000 00:00:00 GMT</getlastmodified>
|
|
<creationdate>20061120T041336Z</creationdate>
|
|
<getetag>"a1c6404d61190f9574e2bfd69383f144"</getetag>
|
|
<getcontentlanguage/>
|
|
<supportedlock>
|
|
<lockentry>
|
|
<lockscope>
|
|
<exclusive/>
|
|
</lockscope>
|
|
<locktype>
|
|
<write/>
|
|
</locktype>
|
|
</lockentry>
|
|
</supportedlock>
|
|
<owner>
|
|
<href>/caldav.php/user1/</href>
|
|
</owner>
|
|
<current-user-principal>
|
|
<href>/caldav.php/user1/</href>
|
|
</current-user-principal>
|
|
</prop>
|
|
<status>HTTP/1.1 200 OK</status>
|
|
</propstat>
|
|
</response>
|
|
<response>
|
|
<href>/caldav.php/user1/home/9d050be7-8a02-4355-8ed3-02a9fc5f473f.ics</href>
|
|
<propstat>
|
|
<prop>
|
|
<getcontenttype>text/calendar; component=vevent</getcontenttype>
|
|
<resourcetype/>
|
|
<getcontentlength>956</getcontentlength>
|
|
<displayname>Confidential Event</displayname>
|
|
<getlastmodified>Dow, 01 Jan 2000 00:00:00 GMT</getlastmodified>
|
|
<creationdate>20061223T032350Z</creationdate>
|
|
<getetag>"08a435c2abaf38f4a50a997343c098a7"</getetag>
|
|
<getcontentlanguage/>
|
|
<supportedlock>
|
|
<lockentry>
|
|
<lockscope>
|
|
<exclusive/>
|
|
</lockscope>
|
|
<locktype>
|
|
<write/>
|
|
</locktype>
|
|
</lockentry>
|
|
</supportedlock>
|
|
<owner>
|
|
<href>/caldav.php/user1/</href>
|
|
</owner>
|
|
<current-user-principal>
|
|
<href>/caldav.php/user1/</href>
|
|
</current-user-principal>
|
|
</prop>
|
|
<status>HTTP/1.1 200 OK</status>
|
|
</propstat>
|
|
</response>
|
|
<response>
|
|
<href>/caldav.php/user1/home/1906b3ca-4890-468a-9b58-1de74bf2c716.ics</href>
|
|
<propstat>
|
|
<prop>
|
|
<getcontenttype>text/calendar; component=vevent</getcontenttype>
|
|
<resourcetype/>
|
|
<getcontentlength>970</getcontentlength>
|
|
<displayname>Private Event</displayname>
|
|
<getlastmodified>Dow, 01 Jan 2000 00:00:00 GMT</getlastmodified>
|
|
<creationdate>20061223T031415Z</creationdate>
|
|
<getetag>"5def8ae2b20893a1c7f4dbaeb008f2f1"</getetag>
|
|
<getcontentlanguage/>
|
|
<supportedlock>
|
|
<lockentry>
|
|
<lockscope>
|
|
<exclusive/>
|
|
</lockscope>
|
|
<locktype>
|
|
<write/>
|
|
</locktype>
|
|
</lockentry>
|
|
</supportedlock>
|
|
<owner>
|
|
<href>/caldav.php/user1/</href>
|
|
</owner>
|
|
<current-user-principal>
|
|
<href>/caldav.php/user1/</href>
|
|
</current-user-principal>
|
|
</prop>
|
|
<status>HTTP/1.1 200 OK</status>
|
|
</propstat>
|
|
</response>
|
|
<response>
|
|
<href>/caldav.php/user1/home/fbd57454-d966-4a14-8341-abe1edb1ae66.ics</href>
|
|
<propstat>
|
|
<prop>
|
|
<getcontenttype>text/calendar; component=vevent</getcontenttype>
|
|
<resourcetype/>
|
|
<getcontentlength>929</getcontentlength>
|
|
<displayname>Tentative Event</displayname>
|
|
<getlastmodified>Dow, 01 Jan 2000 00:00:00 GMT</getlastmodified>
|
|
<creationdate>20061223T051646Z</creationdate>
|
|
<getetag>"ac90acd649c25070b1a2a17fb31a105a"</getetag>
|
|
<getcontentlanguage/>
|
|
<supportedlock>
|
|
<lockentry>
|
|
<lockscope>
|
|
<exclusive/>
|
|
</lockscope>
|
|
<locktype>
|
|
<write/>
|
|
</locktype>
|
|
</lockentry>
|
|
</supportedlock>
|
|
<owner>
|
|
<href>/caldav.php/user1/</href>
|
|
</owner>
|
|
<current-user-principal>
|
|
<href>/caldav.php/user1/</href>
|
|
</current-user-principal>
|
|
</prop>
|
|
<status>HTTP/1.1 200 OK</status>
|
|
</propstat>
|
|
</response>
|
|
<response>
|
|
<href>/caldav.php/user1/home/71e2ae82-7870-11db-c6d6-f6927c144649.ics</href>
|
|
<propstat>
|
|
<prop>
|
|
<getcontenttype>text/calendar; component=vevent</getcontenttype>
|
|
<resourcetype/>
|
|
<getcontentlength>769</getcontentlength>
|
|
<displayname>Beer O'Clock</displayname>
|
|
<getlastmodified>Dow, 01 Jan 2000 00:00:00 GMT</getlastmodified>
|
|
<creationdate>20060511T043751Z</creationdate>
|
|
<getetag>"55f02f66966ee150320383803d1e0d34"</getetag>
|
|
<getcontentlanguage/>
|
|
<supportedlock>
|
|
<lockentry>
|
|
<lockscope>
|
|
<exclusive/>
|
|
</lockscope>
|
|
<locktype>
|
|
<write/>
|
|
</locktype>
|
|
</lockentry>
|
|
</supportedlock>
|
|
<owner>
|
|
<href>/caldav.php/user1/</href>
|
|
</owner>
|
|
<current-user-principal>
|
|
<href>/caldav.php/user1/</href>
|
|
</current-user-principal>
|
|
</prop>
|
|
<status>HTTP/1.1 200 OK</status>
|
|
</propstat>
|
|
</response>
|
|
<response>
|
|
<href>/caldav.php/user1/home/da81c0ee-7871-11db-c6d6-f6927c144649.ics</href>
|
|
<propstat>
|
|
<prop>
|
|
<getcontenttype>text/calendar; component=vevent</getcontenttype>
|
|
<resourcetype/>
|
|
<getcontentlength>313</getcontentlength>
|
|
<displayname>Morning Mgmt Mtg</displayname>
|
|
<getlastmodified>Dow, 01 Jan 2000 00:00:00 GMT</getlastmodified>
|
|
<creationdate>20061024T115217Z</creationdate>
|
|
<getetag>"6f16959eee5c920b45548840b1e9ea19"</getetag>
|
|
<getcontentlanguage/>
|
|
<supportedlock>
|
|
<lockentry>
|
|
<lockscope>
|
|
<exclusive/>
|
|
</lockscope>
|
|
<locktype>
|
|
<write/>
|
|
</locktype>
|
|
</lockentry>
|
|
</supportedlock>
|
|
<owner>
|
|
<href>/caldav.php/user1/</href>
|
|
</owner>
|
|
<current-user-principal>
|
|
<href>/caldav.php/user1/</href>
|
|
</current-user-principal>
|
|
</prop>
|
|
<status>HTTP/1.1 200 OK</status>
|
|
</propstat>
|
|
</response>
|
|
</multistatus>
|
|
|