我目前正在使用内置的 urllib
它已经内置在 urllib
httplib2 支持“deflate”和“gzip”压缩。
import httplib2 h = httplib2.Http(".cache") resp, content = h.request("http://example.org/", "GET")