0

大家好,我正在尝试使用 Python 发送请求

with httpx.Client(cookies=cookies, headers=headers, proxies="http://username:password@ip:port", timeout=30) as client:

但它给了我以下错误

h11._util.RemoteProtocolError: can't handle event type ConnectionClosed when role=SERVER and state=SEND_RESPONSE
4

1 回答 1

0

已解决:我使用的是旧版本的库,这就是它无法正常工作的原因,我尝试重新安装它,它又可以正常工作了

于 2022-02-05T18:03:41.700 回答