Allow setting the filename when uploading a multipart with FormData
According to the W3C FormData spec, the append method should have the following signature.
void append(DOMString name, Blob value, optional DOMString filename);
However, moxie currently doesn't support the third argument.
Thus the default filename "blob" is always used. It would be great if it could be specified, since for uploading images the lack of a file extension could become problematic.
Hm. Sure. But have they added this recently? I don't remember anything like this before.
Anyway I agree, very handy, will get that in. Thanks for suggestion!
2 years later... any progress? firefox/mozilla added support for "append with filename" (param 3) on 20130625 (v22): https://developer.mozilla.org/en-US/docs/Web/API/FormData/append
You're welcome to send PR.