Skip to content
Snippets Groups Projects
Commit 9a98fd9b authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

api: set content-type

parent 56e0d2cb
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment