W3C home > Mailing lists > Public > public-webapi@w3.org > August 2007

[XHR2] Editor's draft of XMLHttpRequest level 2

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 02 Aug 2007 15:54:07 +0200
To: "Web API WG (public)" <public-webapi@w3.org>
Message-ID: <op.twfp8h0n64w2qv@annevk-t60.oslo.opera.com>



is the editor's draft of XMLHttpRequest level 2. It has definitions for  
send(in ByteArray data), responseBody and overrideMimeType and defines  
when several of the new events (loadstart, progress, abort, error, load)  
are to be dispatched on the XMLHttpRequest object. It also includes  
support for text/html responses in responseXML.

It does not yet define how the new events work with the upload attribute  
of the XMLHttpRequest that returns an XMLHttpRequestUpload object. It does  
not yet define cross-site requests. It does not yet define when the  
redirect event is to be dispatched and what its exact semantics are. I  
probably missed something here.

It includes a proposal (although all additions are essentially proposals)  
for a new constructor: new XMLHttpRequest(method, url), but it has been  
argued that this is not really beneficial as it only saves one method call  
although it might encourage people to use the synchronous API less.

Feedback welcome!

Kind regards,

Anne van Kesteren
Received on Thursday, 2 August 2007 13:54:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:09:57 UTC