From: Andrew Dolgov Date: Thu, 8 Sep 2011 11:11:16 +0000 (+0400) Subject: api: set content-type X-Git-Tag: 1.5.6~28 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9a98fd9bc77308bbb0fe2f71ca0d44f91aea152c;p=tt-rss.git api: set content-type --- diff --git a/api/index.php b/api/index.php index cebd1c1c..55e60db2 100644 --- a/api/index.php +++ b/api/index.php @@ -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,