Feature: 添加 httpx2 驱动器支持 (#4194)

This commit is contained in:
StarHeart
2026-09-13 23:43:34 +08:00
committed by GitHub
parent 206d31a61d
commit 92c840ef11
8 changed files with 389 additions and 16 deletions
+2
View File
@@ -29,6 +29,7 @@ dependencies = [
[project.optional-dependencies]
websockets = ["websockets >=15.0"]
httpx = ["httpx[http2] >=0.26.0, <1.0.0"]
httpx2 = ["httpx2[http2] >=2.0.0, <3.0.0"]
aiohttp = ["aiohttp[speedups] >=3.11.0, <4.0.0"]
quart = ["Quart >=0.18.0, <1.0.0", "uvicorn[standard] >=0.20.0, <1.0.0"]
fastapi = ["fastapi >=0.93.0, <1.0.0", "uvicorn[standard] >=0.20.0, <1.0.0"]
@@ -36,6 +37,7 @@ all = [
"websockets >=15.0",
"fastapi >=0.93.0, <1.0.0",
"httpx[http2] >=0.26.0, <1.0.0",
"httpx2[http2] >=2.0.0, <3.0.0",
"aiohttp[speedups] >=3.11.0, <4.0.0",
"uvicorn[standard] >=0.20.0, <1.0.0",
]