Re: XHR: responseText encoding detection

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 UTC