diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-03-27 13:10:27 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-03-27 13:10:27 +0100 |
commit | 7ad4dfa2017d5a1d956cae132a495811588e1352 (patch) | |
tree | 4145507d0f235682d3835978983f19ff0d570f55 /apps/files | |
parent | 5aa81833f9bd70929985425c2d78628f76fe728e (diff) | |
parent | 70acd58336925ade7ff42c8ea4759a67c09b9212 (diff) | |
download | nextcloud-server-7ad4dfa2017d5a1d956cae132a495811588e1352.tar.gz nextcloud-server-7ad4dfa2017d5a1d956cae132a495811588e1352.zip |
Merge pull request #15227 from owncloud/ocetag-header
Copy Etag header to OC-Etag for sabre calls
Diffstat (limited to 'apps/files')
-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 efbad26c9ef..1e54fc10efa 100644 --- a/apps/files/appinfo/remote.php +++ b/apps/files/appinfo/remote.php @@ -73,6 +73,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! |