📜  python 请求标头允许重定向 false - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:26.529000             🧑  作者: Mango

代码示例1
import requests
url = "http://mock.kite.com/redirect"
print requests.get(url, allow_redirects = False).text
OUTPUT

Redirecting...

Redirecting...

You should be redirected automatically to target URL: /text. If not click the link.