I would like to use python-requests in my server to send PUSH notification to Apple push server, my questions:
- Does python-requests support asynchronous calls ?
- Does python-request support HTTP2 ?
Thanks
I would like to use python-requests in my server to send PUSH notification to Apple push server, my questions:
Thanks
As recommended by @qris in this comment, you should consider using HTTPX (https://github.com/encode/httpx/) .
It's in beta, but a 1.0 release is planned.
It supports both async as well as HTTP/2 and provides a requests-compatible API.