"The requests library is broken in many ways as to be useless for any server that is strict or slightly non-conforming. There are requests that work perfectly fine with curl but that get rejected when made with the requests library due to its various unnecessary sanitizing"
Encountered delays in response at several times with an instance of trying to get balance while in server. Was also unable to create a connection reliably using HTTPS. Such delays weren't experienced while using cURL to make request from the server.
@Flutterwave/Corvus97 What do you think about these updates?
Description
Replaced requests with pycurl-requests.
Motivation and Context
"The requests library is broken in many ways as to be useless for any server that is strict or slightly non-conforming. There are requests that work perfectly fine with curl but that get rejected when made with the requests library due to its various unnecessary sanitizing"
Encountered delays in response at several times with an instance of trying to get balance while in server. Was also unable to create a connection reliably using HTTPS. Such delays weren't experienced while using cURL to make request from the server.
@Flutterwave/Corvus97 What do you think about these updates?