HTTP协议 与 Requests库
HTTP协议 与 Requests库:
1 HTTP协议:
2 URL作为网络定位的标识:
![](https://images2017.cnblogs.com/blog/1220788/201709/1220788-20170924223606821-1748024269.jpg)
![](https://images2017.cnblogs.com/blog/1220788/201710/1220788-20171022155232256-1613801029.jpg)
![](https://images2017.cnblogs.com/blog/1220788/201709/1220788-20170924223703540-186022273.jpg)
>>>> 用户通过url来定位资源
>>>> 然后通过 get head 获取资源
>>>> 通过put post patch delete 上传和删除 操作资源
![](https://images2017.cnblogs.com/blog/1220788/201709/1220788-20170924223526462-1845995999.jpg)
HTTP协议 与 Requests库:
简单认识一下Requests库的方法:
![](https://images2017.cnblogs.com/blog/1220788/201709/1220788-20170924223948228-1372614516.jpg)
读书使人心眼明亮