B
Benedikt Wismans
Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7) Gecko/20040630
Dear group,
below is a simple XML request. It works fine, the only problem is that
Mozilla dos not quit the data transfer mode but keeps on "waiting for data
from host..." and the Mozilla icon keeps on moving for ever. Again,
everything works fine, but it is annoying.
The same behaviour occurs with Mozilla 1.8 and GET/urlencoded data
Any hint?
thanks,
Benedikt
-
var oXMLHttpRequest = new XMLHttpRequest();
XMLHttpRequest.open("POST", "http://"+cAPPLICATIONSERVER+cSISSRV, false);
oXMLHttpRequest.setRequestHeader("Content-Type","multipart/form-data");
oXMLHttpRequest.setRequestHeader("Content-Encoding","ISO-8859-1");
oXMLHttpRequest.setRequestHeader("Accept","text/xml");
oXMLHttpRequest.setRequestHeader("Cache-Control","no-cache");
try {
oXMLHttpRequest.send(this.oXMLDoc);
try {
return oXMLHttpRequest.responseXML;
}
catch(e) {
alert('Der XML-Response kann nicht interpretiert werden');
return null;
}
return oXMLHttpRequest.responseXML;
}
catch(e) {
alert('Der XML-Stream konnte nicht geöffnet oder empfangen werden');
return null;
}
Dear group,
below is a simple XML request. It works fine, the only problem is that
Mozilla dos not quit the data transfer mode but keeps on "waiting for data
from host..." and the Mozilla icon keeps on moving for ever. Again,
everything works fine, but it is annoying.
The same behaviour occurs with Mozilla 1.8 and GET/urlencoded data
Any hint?
thanks,
Benedikt
-
var oXMLHttpRequest = new XMLHttpRequest();
XMLHttpRequest.open("POST", "http://"+cAPPLICATIONSERVER+cSISSRV, false);
oXMLHttpRequest.setRequestHeader("Content-Type","multipart/form-data");
oXMLHttpRequest.setRequestHeader("Content-Encoding","ISO-8859-1");
oXMLHttpRequest.setRequestHeader("Accept","text/xml");
oXMLHttpRequest.setRequestHeader("Cache-Control","no-cache");
try {
oXMLHttpRequest.send(this.oXMLDoc);
try {
return oXMLHttpRequest.responseXML;
}
catch(e) {
alert('Der XML-Response kann nicht interpretiert werden');
return null;
}
return oXMLHttpRequest.responseXML;
}
catch(e) {
alert('Der XML-Stream konnte nicht geöffnet oder empfangen werden');
return null;
}