lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On Tue, Jun 21, 2011 at 6:53 PM, Ross Andrews <ross.andrews@gmail.com> wrote:
Nope, not using wsapi.

Reading from the socket is a good idea though, that would yield a string with all the form data in it (if I understand this correctly, it's been a while) which I could then parse the same way that xavante.httpd.getparams does.


If possible, take a look at wsapi.request. It has code to deal with form data.

https://github.com/keplerproject/wsapi/blob/master/src/wsapi/request.lua#L117