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.
"referer" request.getHeader("referer")当两个页面都属于HTTPS协议时,称为as的请求标头总是从一个页面发送到另一个页面?
"referer"
request.getHeader("referer")
至少在正常浏览下,是的。http-referrer 标头由浏览器发送,与 SSL 无关。不过,我不确定在浏览器的“隐私”模式下浏览时会发生什么。它可能因浏览器/版本而异。