From 8c5d656f3b605a8cedbf412b7498b936e12866e6 Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Mon, 31 Jul 2017 22:46:19 +0200 Subject: Handle OC-Total-Length in new chunking MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Calviño Sánchez --- apps/dav/lib/Server.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/dav/lib/Server.php') diff --git a/apps/dav/lib/Server.php b/apps/dav/lib/Server.php index 4e8a9fd0a51..dfa19467e5e 100644 --- a/apps/dav/lib/Server.php +++ b/apps/dav/lib/Server.php @@ -55,6 +55,7 @@ use OCA\DAV\DAV\CustomPropertiesBackend; use OCA\DAV\Connector\Sabre\QuotaPlugin; use OCA\DAV\Files\BrowserErrorPagePlugin; use OCA\DAV\SystemTag\SystemTagPlugin; +use OCA\DAV\Upload\ChunkingPlugin; use OCP\IRequest; use OCP\SabrePluginEvent; use Sabre\CardDAV\VCFExportPlugin; @@ -171,6 +172,7 @@ class Server { )); $this->server->addPlugin(new CopyEtagHeaderPlugin()); + $this->server->addPlugin(new ChunkingPlugin()); // allow setup of additional plugins $dispatcher->dispatch('OCA\DAV\Connector\Sabre::addPlugin', $event); -- cgit v1.2.3