diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-03-26 16:06:43 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-03-26 16:06:43 +0100 |
commit | 70acd58336925ade7ff42c8ea4759a67c09b9212 (patch) | |
tree | 46510b9ad08b8e5a6d346d51c85e0059a4cdac15 /apps/files/appinfo | |
parent | e66dda83df536e7bac14d5e5622f10747db63f2f (diff) | |
download | nextcloud-server-70acd58336925ade7ff42c8ea4759a67c09b9212.tar.gz nextcloud-server-70acd58336925ade7ff42c8ea4759a67c09b9212.zip |
Copy Etag header to OC-Etag for sabre calls
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r-- | apps/files/appinfo/remote.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/appinfo/remote.php b/apps/files/appinfo/remote.php index e260f85fdb0..bac372564b6 100644 --- a/apps/files/appinfo/remote.php +++ b/apps/files/appinfo/remote.php @@ -65,6 +65,7 @@ $server->on('beforeMethod', function () use ($server, $objectTree) { ) ) ); + $server->addPlugin(new \OC\Connector\Sabre\CopyEtagHeaderPlugin()); }, 30); // priority 30: after auth (10) and acl(20), before lock(50) and handling the request // And off we go! |