Here is my ajax installation:
$.support.cors = true; $.ajax({ beforeSend: function () { }, type: "POST", url: "test.cgx", data: hex_str, dataType: "xml", processData: false, contentType: "text/xml; charset=utf-8", success: function (msg) { }, error: function (msg) { } });
If the data - hexstr less than 4 characters (for example, hex_str = "3A"), I received the following error (after 1 minute of waiting for the request):
XMLHttpRequest: network error 0x2f78, operation failed due to error 00002f78.
This only happens in IE, FF, and Chrome can send any data. The data that I send is not in XML format, it is only Hex data (I need contentType: "text/xml; charset=utf-8" for some other reason).
I am using jQuery 1.8.2
source share