2022年12月3日
摘要: 支持HTTP/2.0,异步 1.安装 pip install httpx[http2] 2.基本使用(类似requests) httpx 默认使用的 HTTP/1.1,需要手动声明才能使用HTTP/2.0 import httpx client = httpx.Client(http2=True) 阅读全文
posted @ 2022-12-03 16:11 不是霉蛋 阅读(83) 评论(0) 推荐(0)