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 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, -- 2.39.5