cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLINFO_HTTP_CONNECTCODE problem

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 2 May 2007 00:11:20 -0700

On Wed, May 02, 2007 at 06:46:07AM +0000, Victor Svetogor wrote:
> No, I do not use CURLOPT_HTTPPROXYTUNNEL, and I do not work with HTTPS.
> I use only HTTP protocol. How I can distinguish in this case errors of
> a web-server and a errors of a proxy?

A proxy server will provide an HTTP error code, just like the remote server.
Some codes (e.g. 407) will only come from a proxy server.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-05-02