Updated regression test results.

This commit is contained in:
Andrew McMillan 2010-08-26 08:59:47 +12:00
parent 7eaf94753c
commit 4b37c632f6
4 changed files with 46 additions and 0 deletions

View File

@ -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"

View File

@ -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

View File

@ -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"
<?xml version="1.0" encoding="utf-8" ?>
<error xmlns="DAV:">
<need-privileges>
<resource>
<href>/caldav.php/user3/</href>
<privilege>
<read/>
</privilege>
</resource>
</need-privileges>
</error>

View File

@ -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