我只是无法在IE中使用gzip压缩字符串与ajax一起使用 . 我可以在FF和Chrome中使用它 . 当我在IE中使用ajax调用url时,未设置Accept-Encoding标头,响应字符串为'\ b' . 这是我的ajax代码:

$.ajax({
            url: loadit,
            descr: 'loadit',
            dataType: 'text',
            type: 'GET',
            cache: false,
            contentType: 'application/text',
            headers: { "Accept-Encoding": "gzip, deflate" },
            success: function (data, status) { succeeded(data, status) },
            error: function (data, status, jqXHR) { failed(data) }

        });

任何想法为什么这不适用于IE?