Closed wfjsw closed 9 years ago
delete不支持POST的提交方法,导致服务器400
修改意见: 第223行
var token=$("#token").val() $.ajax({ url: "/upload?type="+modelName+"&token="+session_token, type: "DELETE", //dataType: "json", success: function(data,stat){ //alert(stat); setTimeout(refresh,500); } });
第266行
$('#mgr-error').html(''); if(confirm('请再次确认删除账户')){ $.ajax({ url: "/reg?pwd="+$("#currentpwd").val()+"&token="+session_token, type: "DELETE", dataType: "json", success: function(data,stat){ //alert(data.msg);
本地python3.4.2+tornado4.0.2,测试没有发现400错误。
已投入生产使用的服务器,不再进行测试
delete不支持POST的提交方法,导致服务器400
修改意见: 第223行
第266行