From 9a98fd9bc77308bbb0fe2f71ca0d44f91aea152c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 8 Sep 2011 15:11:16 +0400 Subject: [PATCH] api: set content-type --- api/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/index.php b/api/index.php index cebd1c1c4..55e60db29 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,