pras_mi
19 Aug 2011, 1:33 AM
Hi All,
I am using the following code for making a AJAX Call:
Ext.Ajax.request({
url: <Some HTTPS URL>,
method: 'GET,
headers: {
'Cookie' : <Some Authentication Cookies>
},
success: function(response, opts){
// More programming logic here
},
failure: function(response, opts){
console.log('Ext AJAX call failure with status code ' + response.status);
}
});
Most of the times it returns proper response but sometimes it is returning status code 0. I am sure that the URL I am calling is up and responding.
If anyone has faced any similar issues then please let me know your findings, what could be the possible cause of this AJAX call to be failing that too with status code 0 ?
Thanks in Advance.
--Prashant
I am using the following code for making a AJAX Call:
Ext.Ajax.request({
url: <Some HTTPS URL>,
method: 'GET,
headers: {
'Cookie' : <Some Authentication Cookies>
},
success: function(response, opts){
// More programming logic here
},
failure: function(response, opts){
console.log('Ext AJAX call failure with status code ' + response.status);
}
});
Most of the times it returns proper response but sometimes it is returning status code 0. I am sure that the URL I am calling is up and responding.
If anyone has faced any similar issues then please let me know your findings, what could be the possible cause of this AJAX call to be failing that too with status code 0 ?
Thanks in Advance.
--Prashant