diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2014-02-17 16:45:22 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2014-02-17 16:45:22 +0100 |
commit | 8a2cd0355da540759e7a1edcfe67fb4715032ad0 (patch) | |
tree | 07d930edad5f70c78118c6734ebebd3f9c855b45 /ocs/providers.php | |
parent | 84cd6e035e5e01c5a3182bd73677371d08810b20 (diff) | |
download | nextcloud-server-8a2cd0355da540759e7a1edcfe67fb4715032ad0.tar.gz nextcloud-server-8a2cd0355da540759e7a1edcfe67fb4715032ad0.zip |
Use the proper content-type
We should use the proper content-type `application/xml` instead of the default `text/html` here.
Backport requested.
Diffstat (limited to 'ocs/providers.php')
-rw-r--r-- | ocs/providers.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ocs/providers.php b/ocs/providers.php index bf94b85dcfb..2c62f767ad3 100644 --- a/ocs/providers.php +++ b/ocs/providers.php @@ -23,6 +23,8 @@ require_once '../lib/base.php'; +header('Content-type: application/xml'); + $url=OCP\Util::getServerProtocol().'://'.substr(OCP\Util::getServerHost().OCP\Util::getRequestUri(), 0, -17).'ocs/v1.php/'; echo(' |