diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-08-25 22:02:27 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-08-25 22:02:27 +0200 |
commit | e9241fcd8cdf3b1657ec9127bc5f8565b8b10677 (patch) | |
tree | 55cf9813a549a5c80ab471097b758824da3054ea /lib | |
parent | 1ca638cfbd89c3eef70e591dd57d7d9469aebe62 (diff) | |
parent | f3561e2349e0a3bac44cda9716f5cd373799a9b9 (diff) | |
download | nextcloud-server-e9241fcd8cdf3b1657ec9127bc5f8565b8b10677.tar.gz nextcloud-server-e9241fcd8cdf3b1657ec9127bc5f8565b8b10677.zip |
Merge pull request #18562 from owncloud/explicit-use-statuscode-200
Explicitly specify status code 200 as response code
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/connector/sabre/dummygetresponseplugin.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/connector/sabre/dummygetresponseplugin.php b/lib/private/connector/sabre/dummygetresponseplugin.php index 6057236b635..6f5a009d084 100644 --- a/lib/private/connector/sabre/dummygetresponseplugin.php +++ b/lib/private/connector/sabre/dummygetresponseplugin.php @@ -61,6 +61,7 @@ class DummyGetResponsePlugin extends \Sabre\DAV\ServerPlugin { fwrite($stream, $string); rewind($stream); + $response->setStatus(200); $response->setBody($stream); return false; |