--- a/clients.lua Mon Jan 04 16:27:00 2016 +0000 +++ b/clients.lua Mon Jan 04 16:39:39 2016 +0000 @@ -110,6 +110,7 @@ function handle_active(event, path) mark_active(event.request); + event.response.headers.content_type = "text/plain"; return "OK"; end @@ -122,6 +123,7 @@ end end mark_active(event.request); + event.response.headers.content_type = "text/plain"; return tostring(total); end @@ -137,6 +139,7 @@ }); end mark_active(event.request); + event.response.headers.content_type = "application/json"; return "[\n "..table.concat(watchers, ",\n ").."\n]"; end