diff options
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/backend.php b/backend.php index 4b749f9a9..0e4541e74 100644 --- a/backend.php +++ b/backend.php @@ -64,8 +64,12 @@ $op == "digestSend" || $op == "viewfeed" || $op == "publish" || $op == "globalUpdateFeeds") && !$_REQUEST["noxml"]) { header("Content-Type: application/xml; charset=utf-8"); - } else { - header("Content-Type: text/html; charset=utf-8"); + } else { + if (!$_REQUEST["noxml"]) { + header("Content-Type: text/html; charset=utf-8"); + } else { + header("Content-Type: text/plain; charset=utf-8"); + } } if (!$op) { |