Fabio Mascarenhas wrote:
----
local res = wsapi.reponse.new()
res.headers["Content-Type"] = "text/plain"
res:write("Everything went smooth!")
return res:finish()
----

What is wrong with that? :-)


He! Well... I was trying to get everything on a single line. Nevermind, a little helper function will do.

Regards,
Ignacio



_______________________________________________
Kepler-Project mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to