Use the proper content-type

We should use the proper content-type `application/xml` instead of the default `text/html` here.

Backport requested.
This commit is contained in:
Lukas Reschke 2014-02-17 16:45:22 +01:00
parent 3d5d6b5ad1
commit d07f459409

View file

@ -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('