摘要: function csrfSafeMethod(method) { // these HTTP methods do not require CSRF protection return (/^(GET|HEAD|OPTIONS|TRACE)$/.test(method)); } $.ajaxSetup({ beforeSend:... 阅读全文
posted @ 2017-10-16 20:17 背着石头的小蚂蚁 阅读(374) 评论(0) 推荐(0) 编辑