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

Re: [XHR2] overrideMimeType

From: Jonas Sicking <jonas@sicking.cc>
Date: Mon, 30 Jul 2007 15:48:01 -0700
Message-ID: <46AE6AA1.8010308@sicking.cc>
To: Alexey Proskuryakov <ap-carbon@rambler.ru>
CC: Maciej Stachowiak <mjs@apple.com>, Web APIs WG <public-webapi@w3.org>

Alexey Proskuryakov wrote:
> On 7/30/07 12:21 AM, "Jonas Sicking" <jonas@sicking.cc> wrote:
>>> If XHR2 offers responseBody with a raw byte array of some kind, it will
>>> be required for implementations to keep the raw bytes around anyway.
>> Yep. Though it still seems weird to me that responseText would change
>> when .overrideMimeType is changed. How do you guys deal with this situation?
>   Currently, we only honor MIME type (not charset) change after the response
> bytes start to arrive, and only if responseXML hasn't been accessed yet.

So setting overrideMimeType does different things before and after the 
load starts? That doesn't seem very ideal either.

/ Jonas
Received on Monday, 30 July 2007 22:49:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:24 UTC