[BUGFIX] Re-introduce WebDAV-related HTTP methods 86/42586/6
authorGerrit Mohrmann <mohrmann.t3@gmx.de>
Sun, 9 Aug 2015 14:02:20 +0000 (16:02 +0200)
committerBenni Mack <benni@typo3.org>
Mon, 21 Sep 2015 05:22:32 +0000 (07:22 +0200)
The following methods are added in order to have TYPO3
work as WebDAV server.

* COPY
* LOCK
* MKCOL
* MOVE
* PROPFIND
* PROPPATCH
* UNLOCK

Resolves: #69023
Releases: master
Change-Id: I50e52f2094654a97a83486032b10e34a89a6d5c3
Reviewed-on: http://review.typo3.org/42586
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/Http/Request.php

index 9d7d05d..cd83919 100644 (file)
@@ -57,7 +57,15 @@ class Request extends Message implements RequestInterface {
                'PATCH',
                'POST',
                'PUT',
-               'TRACE'
+               'TRACE',
+               // WebDAV methods
+               'COPY',
+               'LOCK',
+               'MKCOL',
+               'MOVE',
+               'PROPFIND',
+               'PROPPATCH',
+               'UNLOCK'
        );
 
        /**