curl --include www.baidu.com

HTTP响应以包含状态码和状态消息的状态行开始。状态行后跟任意数量的HTTP标头。空行指示标头的末尾和响应正文的开始,其中包含服务器要发送的实际数据。

https://realpython.com/django-redirects/