curl-library
Re: Digest authentication through HTTP Proxy
Date: Mon, 16 Jan 2006 10:33:51 +0100 (CET)
On Mon, 16 Jan 2006, Allen Chan wrote:
> Just a quick question. Is anyone currently using Digest auth through HTTP
> Proxy? I was testing each from Basic through NTLM, and it seems that Digest
> fails whether using tunneling or not.
Test case 206 does and it seems to work on most systems...
> 1. Curl connect to proxy
> 2. Proxy replies 407
> 3. Curl tries again with the digest auth
> 4. Proxy replies 407
>
> I'm suspecting username/password error, but it's thesame one i use with NTLM
> (no domain specified just username:password) and that one doesn't fail.
And you're sure that your proxy allows Digest with this user/password for
CONNECT?
> Also, I was just wondering why there is an extra trip before curl sends the
> auth...
"an extra" ? It needs to do CONNECT, get a nounce back (in a 407 response) and
then do a CONNECT again with the proper Proxy-Authorization: header.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-01-16