projects
/
project
/
luci2
/
ui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
io: return JSON responses with text/plain mimetype for IE 8 / IE 9 compatibility
[project/luci2/ui.git]
/
luci2
/
src
/
io
/
main.c
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)
{