httplib httplib: https://docs.python.org/2/library/httplib.html python 的官方文档这样说明: This module defines classes which implement the client side of the HTTP and HTTPS protocols. It is normally not used directly — the module urllib uses it to handle URLs
http http: https://docs.python.org/3/library/http.html http是一个包,里面含有多个模块:http.client,http.server,http.cookies,http.cookiejar. http.client 对应python2.X 的 httplib 模块. 官方文档对 http.client的说明如下: This module defines classes which implement the client side of