Python30处理重定向

来源:互联网 发布:linux的进程调度策略 编辑:程序博客网 时间:2024/05/01 10:57

 Python手册有话说: 

This class of status code indicates that further action needs to be taken by the user agent in order to fulfill the request. The action required MAY be carried out by the user agent without interaction with the user if and only if the method used in the second request is GET or HEAD. A client SHOULD detect infinite redirection loops, since such loops generate network traffic for each redirection.

 

 

实例: 

 

原创粉丝点击