Web service

HTTPS 페이지에서 HTTP 페이지로 링크로 넘어갈 때, 브라우져에서 Referer 안 남기는 이유

'김용환' 2016. 3. 24. 15:32



인터넷을 찾아보니..


RFC 2616 (HTTP 1.1) 스펙 규격에 따르면, HTTPS 페이지에서 HTTP 페이지로 링크로 넘어갈 때, 브라우져에서 HTTP 페이지에 Referer를 넘기지 않는다. 다음 같은 조항 때문이다.



https://www.w3.org/Protocols/rfc2616/rfc2616-sec15.html#sec15.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.