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

Re: [XHR] Status Update

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 09 Aug 2010 22:25:16 +0200
To: "Jonas Sicking" <jonas@sicking.cc>
Cc: "WebApps WG" <public-webapps@w3.org>
Message-ID: <op.vg6toe1u64w2qv@anne-van-kesterens-macbook-pro.local>
On Mon, 09 Aug 2010 20:54:48 +0200, Jonas Sicking <jonas@sicking.cc> wrote:
> Some of these bugs are feature enhancements. Such as adding support
> for sending and receiving text/html documents. In the interest of
> getting us to rec as quickly as possible I suggest that these features
> are added to XHR L2 instead.

Actually, by virtue of following the Document.innerHTML algorithm from  
HTML5 sending HTML documents is already covered for in XMLHttpRequest. It  
is just that the media type (as the bug indicates) is always set to  
application/xml rather than text/html for HTML documents.

Receiving HTML documents would indeed be a newish feature, except that you  
already need to follow HTML5 rules to discover the character encoding for  
responseText, etc. so adding this did not seem like a big burden on  
implementations on top of which it makes sense that if you can send them  
(which was already possible) you can also receive them.

You say "such as" but I believe these are the only two bugs that can be  
classified as such and the former is really a bug and not a new feature.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Monday, 9 August 2010 20:25:57 GMT

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