lua-users home
lua-l archive

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


On Tue, Jul 5, 2011 at 8:00 PM, Petite Abeille <petite.abeille@gmail.com> wrote:
>
> Possibly tedious, but impossible?!? :P
>
> FWIW, Nanoki [1]  sports a MIME parser of sort [2] as part of its build-in HTTP server [3].
>
> WSAPI sports a multipart/form-data parser as well [4].
>
> [1] http://svr225.stepx.com:3388/nanoki
> [2] http://dev.alt.textdrive.com/browser/HTTP/MIME.lua#L189
> [3] http://dev.alt.textdrive.com/browser/HTTP/HTTP.lua#L190
> [4] https://github.com/keplerproject/wsapi/blob/master/src/wsapi/request.lua#L108
>
>

While these implementations work without any doubt, I'm afraid they're
a tiny wee bit too much specialized for their own uses, which will
make it difficult to adopt them properly...