-
Notifications
You must be signed in to change notification settings - Fork 433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请求使用httpx替代requests,使用http2的多路复用 #53
Comments
|
感谢你的建议,由于下面的几点分析,这个性能效果并不会很明显,由于目前项目追求稳定性,暂不会加入,但后续测试http2能够稳定运行后加入支持~
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
httpx 支持http2,
pip3 install httpx
pip3 install 'httpx[http2]'
requests.Session() 替换成 httpx.Client(http2=True)
使用http2的多路复用减少握手.
The text was updated successfully, but these errors were encountered: