#
# Testing for how iCal does a POST for free/busy
#
TYPE=POST
URL=http://regression.host/caldav.php/user1/.out/
HEADER=User-Agent: DAVKit/3.0.4 (652); CalendarStore/3.0.5 (841); iCal/3.0.5 (1270); Mac OS X/10.5.5 (9F33)
HEADER=Recipient: mailto:user2@example.net
HEADER=Content-Type: text/calendar
HEADER=Originator: mailto:user1@example.net


BEGINDATA
BEGIN:VCALENDAR
PRODID:-//Apple Inc.//iCal 3.0//EN
CALSCALE:GREGORIAN
VERSION:2.0
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:Europe/Helsinki
BEGIN:DAYLIGHT
TZOFFSETFROM:+0200
TZOFFSETTO:+0300
DTSTART:19810329T030000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
TZNAME:EEST
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0300
TZOFFSETTO:+0200
DTSTART:19961027T040000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
TZNAME:EET
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
SEQUENCE:3
TRANSP:OPAQUE
UID:174F9C2A-1223-40C4-9E06-6E91F2EA9491
DTSTART;TZID=Europe/Helsinki:20081022T084500
ORGANIZER;CN="User 1":mailto:user1@example.net
DTSTAMP:20081025T112707Z
SUMMARY:test meeting
ATTENDEE;CN="User 1";PARTSTAT=ACCEPTED:mailto:user1@example.net
X-WR-ATTENDEE;CN="user2";CUTYPE=INDIVIDUAL;PARTSTAT=NEEDS-ACTION;ROLE=RE
 Q-PARTICIPANT;RSVP=TRUE:mailto:user2@example.net
CREATED:20081025T112648Z
DTEND;TZID=Europe/Helsinki:20081024T113000
END:VEVENT
END:VCALENDAR
ENDDATA

REPLACE=#<creationdate>\d{8}T\d{6}</creationdate>#<creationdate>YYYYMMDDThhmmss</creationdate>#
REPLACE=/^DTSTAMP:\d{4}[01]\d[0123]\dT[012]\d[0-5]\d[0-6]\dZ\r?$/DTSTAMP:yyyymmddThhmmssZ/
