用jquery.get访问网页的时候,默认会加上Accept-Encoding: gzip协议头、怎么取消?
http://demon.tw/programming/jquery-ajax-user-agent.html
$.getJSON("https://passport.baidu.com/v2/?reggetcodestr&callback=bdPass.api.login._changeNewVcodeCallback&index=0&v=",function(data){
alert(data);
});
这个我看过,好像并不可以,上面是 我的代码,怎么样才可以让他访问成功