Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我假设 ASP.NET 中的 HttpContext.Current.Request.IsSecureConnection 会查看一些 HTTP 标头以确定连接是否安全。
有谁知道它在看哪个标题?
这是检查 SSL ( https://vs. http://) 的使用。看到这个问题。
https://
http://