Re: XMLHttpRequest and multipart responses
"Christoph Dorn" <[email protected]> 1 Mar 2007 09:59:12 -0800
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
> Couldn't you put it into a comment in the file? Yes I could, but it would be a special solution for XML. I am hoping to find a solution which I can use with any response without needing special cases for different types. I am going to set a Request ID in a response header field and then cache the debug output on the server so I can fetch it via a second request. This will work for any response type even JSON responses that may only contain the specific JSON formatted string so it may be loaded into a JS object easily and without modification of existing code.