I want to know whether 301 redirect always preserve referrer.
I make a page called \"gotoorig_https.html\" which contains a hyperlink to a page \"orig_https.asp\".
When going between HTTP and HTTPS the HTTP spec says that a referer header should NOT be sent (see 15.1.3 in RFC2616). The spec doesn't say what should happen between HTTPS pages however.
Interestingly firefox defaults to ignoring the spec in this case, but can be made to conform by setting the network.http.sendSecureXSiteReferrer configuration setting.