summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-09-08 15:11:16 +0400
committerAndrew Dolgov <[email protected]>2011-09-08 15:11:16 +0400
commit9a98fd9bc77308bbb0fe2f71ca0d44f91aea152c (patch)
treebfd513de4c2028672f04a89b80ba328cee1735d6 /api
parent56e0d2cb97ef26b5c3de61778bb699c30694b714 (diff)
api: set content-type
Diffstat (limited to 'api')
-rw-r--r--api/index.php2
1 files changed, 1 insertions, 1 deletions
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,