little curl question ^^
You have:
- a site web (endpoint.com/request.php)
- a proxy server (proxy.com:8080)
Is it possible when sending requests through proxy with php_curl to remote web site (ex: an API) to differentiate cases when the proxy part failed (ex: proxy down, bad auth, timeout ...) from when the remote web site fails (ex: 404, site down, bad auth, timeout ...)
Thx