1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 01:25:56 +00:00

api: set content-type

This commit is contained in:
Andrew Dolgov
2011-09-08 15:11:16 +04:00
parent 56e0d2cb97
commit 9a98fd9bc7

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