Change this request to include more results in the response.

This commit is contained in:
Andrew McMillan 2008-02-09 21:22:50 +13:00
parent 934d0862f2
commit 8aba1b5a3b
3 changed files with 54 additions and 7 deletions

View File

@ -6,8 +6,8 @@
<filter>
<comp-filter name="VCALENDAR">
<comp-filter name="VEVENT">
<time-range start="20070428T120000Z" end="20070506T120000Z"/>
<time-range start="20061201T120000Z" end="20070506T120000Z"/>
</comp-filter>
</comp-filter>
</filter>
</calendar-query>
</calendar-query>

View File

@ -1,9 +1,55 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access
ETag: "07474790757c5e1b526ce4901889d6d3"
Content-Length: 68
ETag: "5acea2c1bc8250bf55a3a32f155c0872"
Content-Length: 1343
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:"/>
<multistatus xmlns="DAV:">
<response>
<href>/caldav.php/user1/home/4aaf8f37-f232-4c8e-a72e-e171d4c4fe54.ics</href>
<propstat>
<prop>
<calendar-data xmlns="urn:ietf:params:xml:ns:caldav">BEGIN:VCALENDAR
PRODID:-//Mozilla Calendar//NONSGML Sunbird//EN
VERSION:2.0
BEGIN:VEVENT
CREATED:20061120T041336Z
LAST-MODIFIED:20061120T041709Z
DTSTAMP:20061120T041709Z
UID:4aaf8f37-f232-4c8e-a72e-e171d4c4fe54
SUMMARY:Weekly Project Meeting
PRIORITY:0
CLASS:PUBLIC
RRULE:FREQ=WEEKLY;COUNT=26;INTERVAL=1;BYDAY=TH
DTSTART;TZID=/mozilla.org/20050126_1/Pacific/Auckland:20061102T100000
DTEND;TZID=/mozilla.org/20050126_1/Pacific/Auckland:20061102T110000
CATEGORIES:Projects
X-MOZ-LOCATIONPATH:4aaf8f37-f232-4c8e-a72e-e171d4c4fe54.ics
END:VEVENT
BEGIN:VTIMEZONE
TZID:/mozilla.org/20050126_1/Pacific/Auckland
X-LIC-LOCATION:Pacific/Auckland
BEGIN:STANDARD
TZOFFSETFROM:+1300
TZOFFSETTO:+1200
TZNAME:NZST
DTSTART:19700315T030000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=3SU;BYMONTH=3
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:+1200
TZOFFSETTO:+1300
TZNAME:NZDT
DTSTART:19701004T020000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=10
END:DAYLIGHT
END:VTIMEZONE
END:VCALENDAR
</calendar-data>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>

View File

@ -1,5 +1,6 @@
#
# Request a REPORT which should only include an instance of the repeating event we just added
# Request a REPORT including the event we just added along with a bunch of
# others.
#
TYPE=REPORT
URL=http://mycaldav/caldav.php/user1/home/
@ -11,4 +12,4 @@ HEADER=Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
HEADER=Keep-Alive: 300
HEADER=Content-Type: text/xml
HEADER=Depth: 1
HEAD
HEAD