From 0bc694bfe4f60fddc0f2702654e3011177b848ce Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 19 Nov 2005 06:10:29 +0100 Subject: [PATCH] noxml option in url to prevent setting xml content-type for rpc debugging --- backend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend.php b/backend.php index 6dec10d1..ab82cc3c 100644 --- a/backend.php +++ b/backend.php @@ -13,7 +13,7 @@ $op = $_REQUEST["op"]; - if ($op == "rpc" || $op == "updateAllFeeds") { + if (($op == "rpc" || $op == "updateAllFeeds") && !$_REQUEST["noxml"]) { header("Content-Type: application/xml"); } -- 2.39.2