ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Tests related to the HEAD request. More...
Public Member Functions | |
setUpTree () | |
Sets up the DAV tree. More... | |
testHEAD () | |
testHEADCollection () | |
According to the specs, HEAD should behave identical to GET. More... | |
testDoubleAuth () | |
HEAD automatically internally maps to GET via a sub-request. More... | |
Public Member Functions inherited from Sabre\DAVServerTest | |
setUp () | |
initializeEverything () | |
request ($request, $expectedStatus=null) | |
Makes a request, and returns a response object. More... | |
autoLogin ($userName) | |
This function takes a username and sets the server in a state where this user is logged in, and no longer requires an authentication check. More... | |
setUpTree () | |
Override this to provide your own Tree for your test-case. More... | |
setUpBackends () | |
assertHttpStatus ($expectedStatus, HTTP\Request $req) | |
Additional Inherited Members | |
Protected Attributes inherited from Sabre\DAVServerTest | |
$setupCalDAV = false | |
$setupCardDAV = false | |
$setupACL = false | |
$setupCalDAVSharing = false | |
$setupCalDAVScheduling = false | |
$setupCalDAVSubscriptions = false | |
$setupCalDAVICSExport = false | |
$setupLocks = false | |
$setupFiles = false | |
$setupSharing = false | |
$setupPropertyStorage = false | |
$caldavCalendars = [] | |
An array with calendars. More... | |
$caldavCalendarObjects = [] | |
$carddavAddressBooks = [] | |
$carddavCards = [] | |
$server | |
$tree = [] | |
$caldavBackend | |
$carddavBackend | |
$principalBackend | |
$locksBackend | |
$propertyStorageBackend | |
$caldavPlugin | |
$carddavPlugin | |
$aclPlugin | |
$caldavSharingPlugin | |
$caldavSchedulePlugin | |
$authPlugin | |
$locksPlugin | |
$sharingPlugin | |
$propertyStoragePlugin | |
$autoLogin = null | |
If this string is set, we will automatically log in the user with this name. More... | |
Tests related to the HEAD request.
Definition at line 15 of file HttpHeadTest.php.
Sabre\DAV\HttpHeadTest::setUpTree | ( | ) |
Sabre\DAV\HttpHeadTest::testDoubleAuth | ( | ) |
HEAD automatically internally maps to GET via a sub-request.
The Auth plugin must not be triggered twice for these, so we'll test for that.
Definition at line 75 of file HttpHeadTest.php.
References $authBackend, $password, $request, $response, and Sabre\DAVServerTest\request().
Sabre\DAV\HttpHeadTest::testHEAD | ( | ) |
Definition at line 32 of file HttpHeadTest.php.
References $request, $response, Sabre\DAVServerTest\request(), and Sabre\DAV\Version\VERSION.
Sabre\DAV\HttpHeadTest::testHEADCollection | ( | ) |
According to the specs, HEAD should behave identical to GET.
But, broken clients needs HEAD requests on collections to respond with a 200, so that's what we do.
Definition at line 61 of file HttpHeadTest.php.
References $request, $response, and Sabre\DAVServerTest\request().