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 84cd6e035e
commit 8a2cd0355d
1 changed files with 2 additions and 0 deletions

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