curl-library
RE: Unable to get HTTP Status 407 when using libcurl with proxy a nd https
Date: Tue, 12 Aug 2003 11:41:27 +0200 (CEST)
On Mon, 11 Aug 2003, Lance Munslow wrote:
> What about retrieving the realm.
Hm, well that would be a slightly bigger addition. Also, there can be multile
WWW/Proxy-Authenticate: headers each with their own possible set of data an
application could possibly want...
> 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.
It isn't really cheating, as it follows the defined and documented behaviour.
However, I would use a header callback if I were to use it.
> 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.
I think parsing the realm is best left for your app to on its own.
-- 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/01Received on 2003-08-12