diff --git a/testing/tests/regression-suite/0222-Moz-OPTIONS-allowed.result b/testing/tests/regression-suite/0222-Moz-OPTIONS-allowed.result new file mode 100644 index 00000000..ba7b4316 --- /dev/null +++ b/testing/tests/regression-suite/0222-Moz-OPTIONS-allowed.result @@ -0,0 +1,8 @@ +HTTP/1.1 200 OK +Date: Dow, 01 Jan 2000 00:00:00 GMT +DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule +DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule +Allow: OPTIONS, PROPFIND, REPORT, DELETE, LOCK, UNLOCK, MOVE, GET, PUT, HEAD, MKCOL, MKCALENDAR, PROPPATCH +Content-Length: 0 +Content-Type: text/plain; charset="utf-8" + diff --git a/testing/tests/regression-suite/0222-Moz-OPTIONS-allowed.test b/testing/tests/regression-suite/0222-Moz-OPTIONS-allowed.test new file mode 100644 index 00000000..318bcf5f --- /dev/null +++ b/testing/tests/regression-suite/0222-Moz-OPTIONS-allowed.test @@ -0,0 +1,10 @@ +# +# Do an OPTIONS request (authenticated) against a user who we +# have read access to. +# +TYPE=OPTIONS +URL=http://mycaldav/caldav.php/manager1/ + +HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20111013 Thunderbird/1.5.0.7 + +HEAD diff --git a/testing/tests/regression-suite/0223-Moz-OPTIONS-denied.result b/testing/tests/regression-suite/0223-Moz-OPTIONS-denied.result new file mode 100644 index 00000000..948eb6b6 --- /dev/null +++ b/testing/tests/regression-suite/0223-Moz-OPTIONS-denied.result @@ -0,0 +1,18 @@ +HTTP/1.1 403 Forbidden +Date: Dow, 01 Jan 2000 00:00:00 GMT +DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule +DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule +Content-Length: 214 +Content-Type: text/xml; charset="utf-8" + + + + + + /caldav.php/user3/ + + + + + + diff --git a/testing/tests/regression-suite/0223-Moz-OPTIONS-denied.test b/testing/tests/regression-suite/0223-Moz-OPTIONS-denied.test new file mode 100644 index 00000000..48a79238 --- /dev/null +++ b/testing/tests/regression-suite/0223-Moz-OPTIONS-denied.test @@ -0,0 +1,10 @@ +# +# Do an OPTIONS request (authenticated) against a user who we +# do not have read access to. +# +TYPE=OPTIONS +URL=http://mycaldav/caldav.php/user3/ + +HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20111013 Thunderbird/1.5.0.7 + +HEAD