From: Jo-Philipp Wich Date: Mon, 4 Nov 2013 23:52:13 +0000 (+0000) Subject: io: return JSON responses with text/plain mimetype for IE 8 / IE 9 compatibility X-Git-Url: http://git.openwrt.org/project/luci.git;master?a=commitdiff_plain;h=3167df40eedb1bd301af7f6b6173c95e2770cc50;p=project%2Fluci2%2Fui.git io: return JSON responses with text/plain mimetype for IE 8 / IE 9 compatibility --- diff --git a/luci2/src/io/main.c b/luci2/src/io/main.c index 83a3bbc..3990e79 100644 --- a/luci2/src/io/main.c +++ b/luci2/src/io/main.c @@ -270,7 +270,7 @@ response(bool success, const char *message) struct stat s; printf("Status: 200 OK\r\n"); - printf("Content-Type: application/json\r\n\r\n{\n"); + printf("Content-Type: text/plain\r\n\r\n{\n"); if (success) {