Re: Proposal for an extension XMLHttpRequest to allow sending files

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 UTC