|
Thanks PA, that's helpful to understand the inner working of multipart. Cheers, Mariano On Nov 10, 2007, at 12:11 PM, PA wrote:
On Nov 09, 2007, at 16:42, Mariano Kamp wrote:how would one encode form data using "multipart/form-data"? I am looking for a library.FWIW, here is a module to parse MIME structures... http://dev.alt.textdrive.com/browser/HTTP/MIME.lua Usage example: local MIME = require( 'MIME' ) local aMIME = MIME( aContent ) print( aMIME.type ) for anIndex, aValue in ipairs( aMIME.content ) do print( aValue.key, aValue.value ) end