chrome data compression enable cause an Ajax error .
When I have enable chrome data compression I am getting an error on my ajax function. It is important because mobile chrome installed as default with data compression enable.
Ajax error function arguments :
status=0 ,responseText="" readyState=0
Chrome Console :
GET http://example.com/GetData.ashx?_=1413205947410 net::ERR_SPDY_PROTOCOL_ERROR
i.support.ajax.i.ajaxTransport.send : jquery-1.7.2.js:8241
i.extend.ajax : jquery-1.7.2.js:8241
My ajax function :
load = function (proxyPageName) {
$.ajax({
type: "GET", //I have try POST
url: document.location.protocol + "//" + document.location.host + proxyPageName + ".ashx" ,
dataType: "text",
success: function (msg) {
//when disabled chrome data compression
},
error: function (xhr,options,error) {
//when enable chrome data compression
}
});
}
No error logged on the server.