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

Re: [XHR] Status Update

From: Julian Reschke <julian.reschke@gmx.de>
Date: Tue, 10 Aug 2010 16:49:37 +0200
Message-ID: <4C616701.7050203@gmx.de>
To: Anne van Kesteren <annevk@opera.com>
CC: Jonas Sicking <jonas@sicking.cc>, WebApps WG <public-webapps@w3.org>
On 09.08.2010 22:25, Anne van Kesteren wrote:
> 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.
> ...

I sure hope nobody follows HTML5 for the encoding detection :-). See 
<http://www.w3.org/Bugs/Public/show_bug.cgi?id=9628>, raised over three 
months ago.

Best regards, Julian
Received on Tuesday, 10 August 2010 14:50:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:10 UTC