New result when we don't respond to incorrect POST from iCal.

This commit is contained in:
Andrew McMillan 2009-11-05 17:16:16 +13:00
parent a100244106
commit afd6854317

View File

@ -1,51 +1 @@
<?xml version="1.0" encoding="utf-8" ?>
<C:schedule-response xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
<C:response>
<C:recipient>
<href>mailto:user1@example.net</href>
</C:recipient>
<C:request-status>2.0;Success</C:request-status>
<C:calendar-data>BEGIN:VCALENDAR
PRODID:-//davical.org//NONSGML AWL Calendar//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REPLY
BEGIN:VFREEBUSY
DTSTAMP:yyyymmddThhmmssZ
DTSTART:20081022T084500
DTEND:20081024T113000
UID:174F9C2A-1223-40C4-9E06-6E91F2EA9491
ORGANIZER;CN="User 1":mailto:user1@example.net
ATTENDEE;CN="User 1";PARTSTAT=ACCEPTED:mailto:user1@example.net
FREEBUSY;FBTYPE=BUSY:20081023T054500Z/20081023T063000Z
FREEBUSY;FBTYPE=BUSY:20081022T050000Z/20081022T150000Z
FREEBUSY;FBTYPE=BUSY:20081023T050000Z/20081023T150000Z
END:VFREEBUSY
END:VCALENDAR
</C:calendar-data>
</C:response>
<C:response>
<C:recipient>
<href>mailto:user2@example.net</href>
</C:recipient>
<C:request-status>2.0;Success</C:request-status>
<C:calendar-data>BEGIN:VCALENDAR
PRODID:-//davical.org//NONSGML AWL Calendar//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REPLY
BEGIN:VFREEBUSY
DTSTAMP:yyyymmddThhmmssZ
DTSTART:20081022T084500
DTEND:20081024T113000
UID:174F9C2A-1223-40C4-9E06-6E91F2EA9491
ORGANIZER;CN="User 1":mailto:user1@example.net
X-WR-ATTENDEE;CN=\"user2\";CUTYPE=INDIVIDUAL;PARTSTAT=NEEDS-ACTION;ROLE=
REQ-PARTICIPANT;RSVP=TRUE:mailto:user2@example.net
FREEBUSY;FBTYPE=BUSY:20081022T090000Z/20081022T093000Z
FREEBUSY;FBTYPE=BUSY:20081023T090000Z/20081023T093000Z
END:VFREEBUSY
END:VCALENDAR
</C:calendar-data>
</C:response>
</C:schedule-response>
The application program does not understand that request.