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

Re: Recent spec change to XMLHttpRequest default Content-Type

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 15 Jun 2007 09:30:05 +0200
To: "Anne van Kesteren" <annevk@opera.com>
Cc: "Carsten Orthbandt" <carsten@pixeltamer.net>, "Web API WG (public)" <public-webapi@w3.org>
Message-ID: <vsf473h77lc8pdvs8t8c0hj0ljsqad43vv@hive.bjoern.hoehrmann.de>

* Anne van Kesteren wrote:
>We have to deal with reality. This change was made to the specification  
>because UA implementors already populate responseXML with a parsed  
>document if the response does not include a Content-Type header and said  
>they could not remove that. If you can convince UA implementors to not  
>populate responseXML for responses without a Content-Type header please  
>report back and I'll update the specification.

That would be unnecessary, you could easily say implementations should
try to process the document as XML document, but if that fails, it is
not an error, since the only concern here is error reporting.
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 15 June 2007 07:30:21 UTC

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