httpful icon indicating copy to clipboard operation
httpful copied to clipboard

Quiet curl

Open pascalBokBok opened this issue 6 years ago • 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.

pascalBokBok avatar May 11 '18 10:05 pascalBokBok

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

pascalBokBok avatar Jul 27 '18 08:07 pascalBokBok