From 666f8242868a8ffd5abd9421db1ef1d9dbec6ce4 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sat, 12 Sep 2009 00:08:47 +1200 Subject: [PATCH] New iPhone representative test. --- .../regression-suite/555-iPhone-REPORT.result | 30 +++++++++++++++++++ .../regression-suite/555-iPhone-REPORT.test | 23 ++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 testing/tests/regression-suite/555-iPhone-REPORT.result create mode 100644 testing/tests/regression-suite/555-iPhone-REPORT.test diff --git a/testing/tests/regression-suite/555-iPhone-REPORT.result b/testing/tests/regression-suite/555-iPhone-REPORT.result new file mode 100644 index 00000000..eb21d131 --- /dev/null +++ b/testing/tests/regression-suite/555-iPhone-REPORT.result @@ -0,0 +1,30 @@ +HTTP/1.1 207 Multi-Status +Date: Dow, 01 Jan 2000 00:00:00 GMT +DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule +ETag: "17c8b0c434ae84c54000ff95ee6b3d5f" +Content-Length: 614 +Content-Type: text/xml; charset="utf-8" + + + + + /caldav.php/user1/home/e70576e9-c1e0-431e-a507-0386fd82f223.ics + + + "e8060931f30c1798ac58ffbe4ec0bffc" + + + HTTP/1.1 200 OK + + + + /caldav.php/user1/home/da81c0ee-7871-11db-c6d6-f6927c144649.ics + + + "421abf7e4848d2fecbf64217ed205d4b" + + + HTTP/1.1 200 OK + + + diff --git a/testing/tests/regression-suite/555-iPhone-REPORT.test b/testing/tests/regression-suite/555-iPhone-REPORT.test new file mode 100644 index 00000000..eb1d674d --- /dev/null +++ b/testing/tests/regression-suite/555-iPhone-REPORT.test @@ -0,0 +1,23 @@ +# +# Testing with a process similar to iPhone 3.1 +# +TYPE=REPORT +URL=http://mycaldav/caldav.php/user1/home/ +HEAD + +AUTH=user1:user1 + +HEADER=User-Agent: DAVKit/4.0 (728.4); iCalendar/1 (42.1); iPhone/3.1 7C144 +HEADER=Content-Type: text/xml +HEADER=Depth: 1 + +# +# This query from the iPhone seems to discover several things. Firstly they +# get the calendar-home-set URL for this path. Secondly, they ascertain +# whether the calendar supports scheduling, and finally, whether it +# handles some Apple-specific extensions. +# +BEGINDATA + + +ENDDATA