Hi,
Ext.Ajax.Request returns always zero
Ext.Ajax.Request always returns status as zero.
I had captured the error via Ext.Ajax.on('requestexception' function(){...});
i.e
Exception: {"requestId":7,"statusText":"","status":0}
But chrome browser shows the below error,
XMLHttpRequest cannot load http://ift.tt/1AEH4JE. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:55245' is therefore not allowed access. The response had HTTP status code 500.
Logger.js?_dc=1419357489312:70
Any reason why we are unable to get the status code as 500 in the exception function. Instead it shows always zero?
Ext.Ajax.Request returns always zero
Aucun commentaire:
Enregistrer un commentaire