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

Re: XHR: responseText encoding detection

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 04 Jun 2007 16:35:50 +0200
To: "Alexey Proskuryakov" <ap-carbon@rambler.ru>, public-webapi@w3.org
Message-ID: <op.tteit0cl64w2qv@annevk-t60.oslo.opera.com>

On Wed, 30 May 2007 10:40:14 +0200, Alexey Proskuryakov  
<ap-carbon@rambler.ru> wrote:
> On 5/30/07 12:04 PM, "Anne van Kesteren" <annevk@opera.com> wrote:
>
>>> It turned out that there is already some code (Dashboard widgets) that
>>> relies on Http-Equiv METAs being honored by XMLHttpRequest. This worked
>>> in shipping Safari/WebKit by accident: all XHR content was passed
>>> through an
>>> XML/HTML decoder.
>>
>> So you're saying that for responseText you do indeed adhere to the
>> text/html rules?
>
>   Yes, shipping Safari/WebKit does basically that.

Does responseText stay null until you know the encoding?


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Monday, 4 June 2007 14:36:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:57 GMT