// 异步 if (Request.Headers["X-Requested-With"] == "XMLHttpRequest") {} // 同步 if (Request.Headers["X-Requested-With"] == null) {}
// 异步 if (Request.Headers["X-Requested-With"] == "XMLHttpRequest") {} // 同步 if (Request.Headers["X-Requested-With"] == null) {}
转载于:https://www.cnblogs.com/NigelShi/p/4989342.html