nategood/httpful

Quiet curl

pascalBokBok opened this issue · 1 comments

Hi
Httpful should ask curl to be quiet / not write to STDOUT/ERR.
Example:
When a domain name cannot be resolved the php script using httpful will output "Could not resolve host: somehost.com" and then Httpful will throw an Httpful\Exception\ConnectionErrorException with the same info.
But even if I catch the error I still get the output.
There shouldn't be any output - just the exception.

The same issue appears for connection timeouts.

@nategood
If unmaintained, it would be nice if you refered to some Httpful alternatives for newcomers.