python发http2.0请求提示httpx.remoteprotocolerror : illegal request line
代码:import httpx
import asyncio
asyncio def async_main():
client =httpx.asyncclient(http2=True)
r= await client.post("http://88.88.225.14:2536")
print(t.text)
asyncio.run(async_main())
贴出来的码有些问题
看看这个
https://github.com/encode/httpx/discussions/1841