davical/testing/tests/regression-suite/0560-iPhone-PROPFIND.test
2013-07-15 13:11:08 +12:00

30 lines
784 B
Plaintext

#
# Testing with a process similar to iPhone 3.1
#
TYPE=PROPFIND
URL=http://regression.host/caldav.php/user1/VTODO-EFD9-4F0F-9BDC-5335E04D47E0/
HEAD
AUTH=user1:user1
HEADER=User-Agent: DAVKit/4.0 (728.3); iCalendar/1 (34); iPhone/3.0 7A341
HEADER=Content-Type: text/xml
HEADER=Depth: 0
#
# This query from the iPhone goes to the calendar-home-set and checks
# what is available under that collection.
#
BEGINDATA
<?xml version="1.0" encoding="utf-8"?>
<x0:propfind xmlns:x2="http://calendarserver.org/ns/" xmlns:x0="DAV:" xmlns:x3="http://apple.com/ns/ical/" xmlns:x1="urn:ietf:params:xml:ns:caldav">
<x0:prop>
<x0:displayname/>
<x1:calendar-description/>
<x3:calendar-color/>
<x1:supported-calendar-component-set/>
<x0:resourcetype/>
</x0:prop>
</x0:propfind>
ENDDATA