S
S
Studentka19962021-06-12 02:02:30
Python
Studentka1996, 2021-06-12 02:02:30

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)


60c3eb8033893555671036.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question