Answer the question
In order to leave comments, you need to log in
How to implement a referral link?
For example, I take any site, add a referral policy (in the head), but (on the site) document.referrer still returns an empty string and the title (in the body of the head tag) is not added ... Please help.
head = {'Referrer-Policy': 'no-referrer-when-downgrade'}
r = requests.post("https://httpbin.org/post", headers = head)
print(r.text)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question