cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Unable to get HTTP Status 407 when using libcurl with proxy a nd https

From: Lance Munslow <lance.munslow_at_ttsltd.com>
Date: Mon, 11 Aug 2003 16:04:31 +0100

Hi,

        Understood.

        What about retrieving the realm. I've "cheated" by setting the
debug call-back function switching on the info type (i.e.
CURLINFO_HEADER_IN) and parsing for the realm. I realise I could get the
proxy status this way, also. But it's untidy and could affect performance -
but not in my current program.

regards,

Lance Munslow
Software Development
Travel Technology Systems Ltd

This Email may contain information of a confidential and/or privileged
nature.
The information transmitted is intended only for the benefit of the person
or entity to which it is addressed and must not be copied or forwarded
without the sender's express permission.
This Email does not reflect the views or opinions of Travel Technology
Systems Ltd.
This Email is without prejudice.
This Email does not constitute an agreement either explicitly or implicitly
with Travel Technology Systems Ltd.

-----Original Message-----
From: Daniel Stenberg [mailto:daniel_at_haxx.se]
Sent: 11 August 2003 15:53
To: libcurl Mailing list
Subject: RE: Unable to get HTTP Status 407 when using libcurl with proxy
a nd https

On Mon, 11 Aug 2003, Lance Munslow wrote:

> Is the following suitable?

> + CURLINFO_HTTP_PROXYCODE = CURLINFO_LONG + 22,

Sure! Thanks for the patch. I'm just thinking that perhaps we should instead
call this option CURLINFO_HTTP_CONNECTCODE or something, as this will only
be
filled in when CONNECT is used and not always when you're using a proxy.

Comments?

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Received on 2003-08-11