Merge pull request #7231 from owncloud/proper-content-type

Use the proper content-type
This commit is contained in:
Jörn Friedrich Dreyer 2014-02-17 20:58:52 +01:00
commit 798dc2c39a
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('