HTML HTTPS和HTTP请求间不会传递referrer

阅读(5784)

在一个HTTPS页面,如果有到HTTP页面的请求,是不会带上referer信息的。
反之,HTTP页面发送的HTTPS请求,也不会带有referer信息。

如果都是HTTPS协议,则会正常带有。

浏览器遵循的是HTTP1.1 的 RTC规范

Clients SHOULD NOT include a Referer header field in a (non-secure) HTTP request if the referring page was transferred with a secure protocol.

via: http://smerity.com/articles/2013/where_did_all_the_http_referrers_go.html

Tags: referrer

已有 2 条吐槽

  1. Wow, that's what I was exploring for, what a data!
    present here at this webpage, thanks admin of this
    site.