rpcd: support "files" attribute in menu json files to make menu entries depend on...
[project/luci2/ui.git] / luci2 / src / io / main.c
index 83a3bbc..3990e79 100644 (file)
@@ -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)
        {