SCRIPT7002: XMLHttpRequest: Network Error 0x2f76, Could not complete the operation due to error 00002f76

血红的双手。 提交于 2019-12-06 13:39:01

For this the redirection status code

303 See Other HTTP status code

is not recognize in IE, Changed to the status code to 308 and worked perfectly.

I've got same error from IE in case of adding incorrect header to ajax request. It was such code:

    $.ajax({
        url: someUrl,
        type: "GET",
        cache: false,
        headers: "Cache-Control:no-cache"
    });

Problem was solved by changing code:

    $.ajax({
        url: someUrl,
        type: "GET",
        cache: false,
        headers: {
           'Cache-Control': 'no-cache'
        }
    });
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!