Request.ServerVariables["HTTP_SEC_FETCH_DEST"]

Request.ServerVariables["HTTP_SEC_FETCH_DEST"] == "empty" 为AJAX请求
Request.ServerVariables["HTTP_SEC_FETCH_DEST"] == null 为第三方软件请求
Request.ServerVariables["HTTP_SEC_FETCH_DEST"] =="document" 为网页请求

 

posted @ 2020-10-29 13:22  哥,我还要  阅读(324)  评论(0编辑  收藏  举报