Skip to content

Remove cURL dependency #132

Closed
Closed
@reFX-Mike

Description

@reFX-Mike

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

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions