半夜在开工打补丁,某个 bug 是 Firefox 下面能接受到 Ajax 回调请求,而 IE 不行。
解决方案在[http://stackoverflow.com/questions/425854/jquery-ajax-request-failing- in-ie](http://stackoverflow.com/questions/425854/jquery-ajax-request-failing- in-ie)
缘由是由于 IE 不能正常识别application/json; charset=utf8
于是修改为response.headers['Content-Type'] = 'application/json'
狗日的 IE!
原文链接: get json failed in IE | Log4D
3a1ff193cee606bd1e2ea554a16353ee
欢迎关注我的微信公众号:窥豹
![窥豹](https://e25ba8-log4d-c.dijingchao.com/upload_dropbox/201605/qrcode_for_gh_17e2f9c2caa4_258.jpg)