W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2008

Re: Proposal for an extension XMLHttpRequest to allow sending files

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 08 Aug 2008 12:40:44 +0200
To: "Sam Weinig" <weinig@apple.com>, "Web Applications Working Group WG" <public-webapps@w3.org>
Message-ID: <op.ufkc962j64w2qv@annevk-t60.oslo.opera.com>

On Thu, 17 Jul 2008 22:14:23 +0200, Sam Weinig <weinig@apple.com> wrote:
> Sending a File can be accomplished with an extension to XMLHttpRequest
> that overrides the existing send() method.
>
> Objects implementing the XMLHttpRequest interface must also implement
> the FileXMLHttpRequest interface.
> interface FileXMLHttpRequest {
>     void send(File data);
> };

I was planning on adding something like this whenever Web Forms 2.0 is  
getting integrated in HTML5 and HTMLInputElement will get the fileList  
member. Until that is defined it seems a bit premature to add it to  
XMLHttpRequest.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Friday, 8 August 2008 10:41:19 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:27 GMT