projects
/
project
/
luci2
/
ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
263aaa0
)
io: return JSON responses with text/plain mimetype for IE 8 / IE 9 compatibility
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 4 Nov 2013 23:52:13 +0000
(23:52 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 4 Nov 2013 23:52:13 +0000
(23:52 +0000)
luci2/src/io/main.c
patch
|
blob
|
history
diff --git
a/luci2/src/io/main.c
b/luci2/src/io/main.c
index 83a3bbc2b22b894c29b4bf8014440fced6a137f7..3990e799dd66368a5315d76244c6c9df1d5dcd01 100644
(file)
--- 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/jso
n\r\n\r\n{\n");
+ printf("Content-Type:
text/plai
n\r\n\r\n{\n");
if (success)
{