HaxeFoundation/haxe — pull request #2816 by filt3rek (2014-03-27 12:59:55+00:00)
Title: Http js multipart + remoting multipart + neko multipart params support

Hi,
I added multipart/form-data support for the haxe.Http class targetting js. So now you can also upload files to a server without refreshing the whole page. I tried to go as raw as possible so it uses haxe.io.Bytes, but you can always transform a js.html.DOMFormData.
Then the haxe remoting ASyncConnection/HttpAsyncConnection and HttpConnection now catch multipart params. So you can upload files through the haxe remoting.
Function getMultipartParams() added. It want to be simplier to use than parseMultipart and getMultipart and give you all the params transfered through the multipart request (POST & FILES).
All works fine for me. Let me know if something is wrong.
Regards,
Michal