mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-02-26 05:33:40 +00:00
38 lines
919 B
Plaintext
38 lines
919 B
Plaintext
#
|
|
# Check for support of PROPPATCH method
|
|
#
|
|
# Convert the collection back to a calendar, change the displayname
|
|
# again, and remove the owner property.
|
|
#
|
|
TYPE=PROPPATCH
|
|
URL=http://mycaldav/caldav.php/user1/home/
|
|
HEADER=User-agent: SpecTest PROPPATCH
|
|
HEADER=Content-type: text/xml
|
|
HEAD
|
|
|
|
BEGINDATA
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
<propertyupdate xmlns="DAV:">
|
|
<set>
|
|
<prop>
|
|
<resourcetype>
|
|
<collection/>
|
|
<calendar xmlns="urn:ietf:params:xml:ns:caldav"/>
|
|
</resourcetype>
|
|
<displayname>User One's Calendar</displayname>
|
|
</prop>
|
|
</set>
|
|
<remove>
|
|
<prop>
|
|
<arbitrary xmlns="urn:mcmillan:bogus:xml:ns:rscds"/>
|
|
</prop>
|
|
</remove>
|
|
</propertyupdate>
|
|
ENDDATA
|
|
|
|
QUERY
|
|
SELECT dav_displayname, is_calendar,
|
|
modified > (current_timestamp - '60 seconds'::interval) AS changed_last_60secs
|
|
FROM collection WHERE dav_name = '/user1/home/';
|
|
ENDQUERY
|