Am 17.09.2010, 20:56 Uhr, schrieb Dennis Joachimsthaler <den...@efjot.de>:

Am 17.09.2010, 20:46 Uhr, schrieb Anne van Kesteren <ann...@opera.com>:

On Fri, 17 Sep 2010 20:41:19 +0200, Dennis Joachimsthaler <den...@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

Reply via email to