Is there anyway to change the content-type of an XML document, in the XML document?
I'm working with a really old system that passes back HTML (and we are trying to make it return XML). I'm retrieving it from XMLHttpRequest, and I noticed using netcat that it isn't passing back any content-type headers.
When I receive the XMLHttpRequest.responseXML, the responseText exists but the responseXML is null.
I've already checked the XML being returned to see if it is well formed and it appears to be (it's a very short document).