我想在我的服务器中使用 python-requests 向 Apple 推送服务器发送推送通知,我的问题:
正如@qris在此评论中所推荐的,您应该考虑使用HTTPX(https://github.com/encode/httpx/)。
。 它支持异步和 HTTP/2,并提供与请求兼容的 API。
):
但是如果你需要发送HTTP/2请求,你可以尝试
Hyper
:
https://hyper.readthedocs.io/en/latest/