2010-03-06 23:31:48 +13:00

38 lines
966 B
Plaintext

#
# PROPFIND on a collection which we can only access via a ticket
#
TYPE=PROPFIND
URL=http://regression.host/caldav.php/user1/home/
AUTH=user5:user5
# Get the ticket we created earlier in 948...
GETSQL=ticket
SELECT ticket_id FROM access_ticket
WHERE target_collection_id = 10 AND target_resource_id is null;
ENDSQL
HEADER=User-Agent: Ticket Spec Tests
HEADER=Content-Type: text/xml; charset="UTF-8"
# HEADER=Ticket: ##ticket##
HEADER=Depth: 0
BEGINDATA
<?xml version="1.0" encoding="utf-8"?>
<propfind xmlns="DAV:" xmlns:caldav="urn:ietf:params:xml:ns:caldav">
<prop>
<displayname/>
<supported-report-set/>
<supported-method-set/>
<current-user-privilege-set/>
<caldav:calendar-description/>
<caldav:supported-calendar-component-set/>
<caldav:schedule-calendar-transp/>
<caldav:schedule-default-calendar-URL/>
<caldav:calendar-timezone/>
</prop>
</propfind>
ENDDATA
REPLACE=!<T:id>\S{8}</T:id>!<T:id>Good Ticket ID</T:id>!