Arc Forumnew | comments | leaders | submitlogin
1 point by lark 4560 days ago | link | parent

If b does not break backward compatibility, I prefer b. Else c.


1 point by akkartik 4560 days ago | link

Done. I came up with a way to get the best of both worlds. Multipart request args are now packaged in a table with all metadata, and with the actual body in key "contents". The arg helper is smart enough to deref "contents" in this table, so you can just say (arg req "file") to get its contents. To get at other fields, use the new function multipart-metadata.

http://github.com/nex3/arc/commit/72a6c69b38

-----