From 81b35fbe4a0622a1bc9b010c02b22911526474dc Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Fri, 21 Oct 2005 09:56:59 +0000
Subject: [PATCH] - Patch #34749 by ax: make blogapi autodiscovery (rsd) work
 with Flock.  Yay!

---
 modules/blogapi.module         | 1 +
 modules/blogapi/blogapi.module | 1 +
 2 files changed, 2 insertions(+)

diff --git a/modules/blogapi.module b/modules/blogapi.module
index b23de7324aff..9aad83b7386b 100644
--- a/modules/blogapi.module
+++ b/modules/blogapi.module
@@ -600,6 +600,7 @@ function blogapi_rsd() {
   $base = url('', NULL, NULL, TRUE);
   $blogid = 1; # until we figure out how to handle multiple bloggers
 
+  header('Content-Type: application/rsd+xml');
   print <<<__RSD__
 <?xml version="1.0"?>
 <rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd">
diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module
index b23de7324aff..9aad83b7386b 100644
--- a/modules/blogapi/blogapi.module
+++ b/modules/blogapi/blogapi.module
@@ -600,6 +600,7 @@ function blogapi_rsd() {
   $base = url('', NULL, NULL, TRUE);
   $blogid = 1; # until we figure out how to handle multiple bloggers
 
+  header('Content-Type: application/rsd+xml');
   print <<<__RSD__
 <?xml version="1.0"?>
 <rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd">
-- 
GitLab