From: Andrew Dolgov Date: Sat, 19 Nov 2005 05:10:29 +0000 (+0100) Subject: noxml option in url to prevent setting xml content-type for rpc debugging X-Git-Tag: schema_feature_freeze_for_1.1~205 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0bc694bfe4f60fddc0f2702654e3011177b848ce;p=tt-rss.git noxml option in url to prevent setting xml content-type for rpc debugging --- 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"); }