- From: Dennis Joachimsthaler <dennis@efjot.de>
- Date: Fri, 17 Sep 2010 20:59:57 +0200
Am 17.09.2010, 20:56 Uhr, schrieb Dennis Joachimsthaler <dennis at efjot.de>: > Am 17.09.2010, 20:46 Uhr, schrieb Anne van Kesteren <annevk at opera.com>: > >> On Fri, 17 Sep 2010 20:41:19 +0200, Dennis Joachimsthaler >> <dennis at efjot.de> wrote: > > (Or, any knowledge how it is done today? I can't find >>> anything about it! Crazy.) > >> Of course: >> http://dev.w3.org/2006/webapi/XMLHttpRequest-2/#the-formdata-interface > > Oh? It doesn't seem to allow me to insert files though. And where do I > set the content-type? > > Currently I am trying it like this: > <code> > > Downside is that the first send() will end the request already. > > The file variable is a file gotten from the FileApi. I am dumb. The blob and file already contain the needed content-type. Sorry. Got it now... Heh. Thank you Anne
Received on Friday, 17 September 2010 11:59:57 UTC