From 3167df40eedb1bd301af7f6b6173c95e2770cc50 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 4 Nov 2013 23:52:13 +0000 Subject: [PATCH] io: return JSON responses with text/plain mimetype for IE 8 / IE 9 compatibility --- luci2/src/io/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2