]> git.wh0rd.org - tt-rss.git/commitdiff
api: set content-type
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 8 Sep 2011 11:11:16 +0000 (15:11 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 8 Sep 2011 11:11:16 +0000 (15:11 +0400)
api/index.php

index cebd1c1c43f6e6eb2d1dc963fcaddccb0eb9c2d4..55e60db291e2ae01c8f37c2610b1fa4143311c7e 100644 (file)
@@ -51,7 +51,7 @@
        $op = db_escape_string($_REQUEST["op"]);
        $seq = (int) $_REQUEST["seq"];
 
-//     header("Content-Type: application/json");
+       header("Content-Type: text/plain");
 
        function api_wrap_reply($status, $seq, $reply) {
                print json_encode(array("seq" => $seq,