mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-07-07 09:40:18 +00:00
Updated regression test results.
This commit is contained in:
parent
7eaf94753c
commit
4b37c632f6
@ -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"
|
||||
|
||||
10
testing/tests/regression-suite/0222-Moz-OPTIONS-allowed.test
Normal file
10
testing/tests/regression-suite/0222-Moz-OPTIONS-allowed.test
Normal 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
|
||||
@ -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>
|
||||
10
testing/tests/regression-suite/0223-Moz-OPTIONS-denied.test
Normal file
10
testing/tests/regression-suite/0223-Moz-OPTIONS-denied.test
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user