23 ms·
Unfortunately this approach does not work in HTTPS world. See https://tools.ietf.org/html/rfc2616#section-15.1.3 https://tools.ietf.org/html/rfc2616#section-15.
by program 13y ago
Unfortunately this approach does not work in HTTPS world. See https://tools.ietf.org/html/rfc2616#section-15.1.3 https://tools.ietf.org/html/rfc2616#section-15.1.3
Clients SHOULD NOT include a Referer header field
in a (non-secure) HTTP request if the referring page
was transferred with a secure protocol.
- RKearney 13y agoThis only will not work if your page is loaded over HTTPS and your assets are done over HTTP. If your site and all of the linked/embedded assets are HTTPS, it will work as intended.