[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LunarCGI (was Re: CGI.lua - A native CGI Interface)
- From: Petite Abeille <petite.abeille@...>
- Date: Sat, 26 Feb 2011 03:12:47 +0100
On Feb 25, 2011, at 10:57 AM, Sebastien Lai wrote:
> The reason I haven't added it yet is simply because I have no idea where to
> start with it, or how File uploads are supposed to be implemented...
> maybe someone can shed some light on this issue?
Look into multipart/form-data:
http://www.faqs.org/rfcs/rfc2388.html
Here is an usage example:
http://dev.alt.textdrive.com/browser/HTTP/HTTP.lua#L198
http://dev.alt.textdrive.com/browser/HTTP/MIME.lua#L189