diff --git a/ocs/providers.php b/ocs/providers.php
index bf94b85dcfba2eb945ab14b9c2cad737f281b7b5..2c62f767ad3a6ab7fda6dfc00e7726c86566bd03 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('