Is HTTP header Referer sent when going to a http page from a https page?

后端 未结 4 1783
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-29 22:47

After a few tests, I\'m starting to reach the conclusion that a browser does not send a Referer HTTP header when one clicks to a http page from a https one.

What sec

4条回答
  •  佛祖请我去吃肉
    2020-11-29 23:39

    Yes, defined in the standard:

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

提交回复
热议问题