-
Notifications
You must be signed in to change notification settings - Fork 66
Closed
Labels
difficulty: mediumfix is medium in difficultyfix is medium in difficultytype: community enhancementfeature request not on Twilio's roadmapfeature request not on Twilio's roadmap
Description
I'm using this indirectly through the sendgrid/sendgrid-php classes and on Windows, the cURL implementation doesn't access the certificates directly but rather needs an external file, whose location needs to be defined in the php.ini file.
Without that the sendgrid call silently fails (no exception, no warning etc.) and the HTTP return code is "0" with an empty body.
This is unacceptable. I fail to understand why curl is even needed at all. Creating an HTTP stream context and filling out the same information is rather trivial and works on all platforms without creating a dependency on cURL and the certificate file.
What's the rationale here?
Metadata
Metadata
Assignees
Labels
difficulty: mediumfix is medium in difficultyfix is medium in difficultytype: community enhancementfeature request not on Twilio's roadmapfeature request not on Twilio's roadmap