Re: Recent spec change to XMLHttpRequest default Content-Type

"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 UTC