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

Re: Recent spec change to XMLHttpRequest default Content-Type

From: Jim Ley <jim@jibbering.com>
Date: Fri, 15 Jun 2007 08:34:40 +0100
Message-ID: <0c9e01c7af1f$a2d280e0$0301a8c0@Sniff>
To: "Web API WG \(public\)" <public-webapi@w3.org>

"Carsten Orthbandt" <carsten@pixeltamer.net>
> - If the XMLHttpRequest response does not specify a Content-Type, scan it 
> for
> the xml signature and ONLY parse as XML if it [was] found.
> - Do NOT log errors for parsing errors when no Content-Type was given

Logging of errors is something that should be entirely down to the 
application, there is no need for the spec to require certain things be 
logged in an error console or not - or even the existence of an error 
console - whilst I'm very sympathetic for your desire to make mozilla based 
logging more useful, I do not believe changing the specification here, and 
am entirely happy with the relevant part of the spec, with the content 
sniffing.

Cheers,

Jim. 
Received on Friday, 15 June 2007 07:35:05 GMT

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