mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-19 14:10:14 +00:00
Also a special header is added for telling DAViCal to flush the cache during regression testing etc. Signed-off-by: Andrew McMillan <andrew@morphoss.com>
62 lines
1.7 KiB
Plaintext
62 lines
1.7 KiB
Plaintext
#
|
|
# Testing for how iCal does a POST for free/busy
|
|
#
|
|
TYPE=POST
|
|
URL=http://mycaldav/caldav.php/user1/.out/
|
|
|
|
HEADER=X-DAViCal-Flush-Cache: true
|
|
HEADER=User-Agent: DAVKit/4.0.3 (732); CalendarStore/4.0.4 (997); iCal/4.0.4 (1395); Mac OS X/10.6.5 (10H574)
|
|
HEADER=Recipient: mailto:user2@example.net
|
|
HEADER=Content-Type: text/calendar
|
|
HEADER=Originator: mailto:user1@example.net
|
|
HEADER=Content-Type: text/calendar
|
|
|
|
# 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/
|
|
|
|
# QUERY
|
|
# ENDQUERY
|
|
|
|
BEGINDATA
|
|
BEGIN:VCALENDAR
|
|
CALSCALE:GREGORIAN
|
|
VERSION:2.0
|
|
METHOD:CANCEL
|
|
PRODID:-//Apple Inc.//iCal 4.0.4//EN
|
|
BEGIN:VTIMEZONE
|
|
TZID:Europe/Paris
|
|
BEGIN:DAYLIGHT
|
|
TZOFFSETFROM:+0100
|
|
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
|
|
DTSTART:19810329T020000
|
|
TZNAME:GMT+02:00
|
|
TZOFFSETTO:+0200
|
|
END:DAYLIGHT
|
|
BEGIN:STANDARD
|
|
TZOFFSETFROM:+0200
|
|
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
|
|
DTSTART:19961027T030000
|
|
TZNAME:GMT+01:00
|
|
TZOFFSETTO:+0100
|
|
END:STANDARD
|
|
END:VTIMEZONE
|
|
BEGIN:VEVENT
|
|
ATTENDEE;CN="user2@example.net";CUTYPE=INDIVIDUAL;EMAIL="user2@example
|
|
.net";PARTSTAT=DECLINED;ROLE=REQ-PARTICIPANT:mailto:user2@example
|
|
.net
|
|
ATTENDEE;CN="User One";CUTYPE=INDIVIDUAL;PARTSTAT=ACCEPTED:mailto:
|
|
user1@example.net
|
|
DTEND;TZID=Europe/Paris:20101214T030000
|
|
TRANSP:OPAQUE
|
|
ORGANIZER;CN="User One":mailto:user1@example.net
|
|
UID:EE496371-F00D-4550-8E05-13782C5B7A5C
|
|
DTSTAMP:20101213T001258Z
|
|
STATUS:CANCELLED
|
|
SEQUENCE:6
|
|
SUMMARY:adding event to test invitee with wireshark
|
|
DTSTART;TZID=Europe/Paris:20101214T020000
|
|
CREATED:20101212T235850Z
|
|
END:VEVENT
|
|
END:VCALENDAR
|
|
ENDDATA
|