cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: how to use --proxy-negotiate, exactly?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 24 Feb 2009 09:08:23 +0100 (CET)

On Tue, 24 Feb 2009, Brian J. Murrell wrote:

> Here's what seems strange. Even with a command line of:
>
> $ http_proxy=http://brian@linux:3128/ ./curl -v --proxy-negotiate -o /dev/
> null http://www.sun.com/

[...]

> So I guess the question is, why is an unauthenticated request sent before
> every authenticated one, when curl is even being told to use
> --proxy-negotiate?

If I'm not mistaking, the Negotiate protocol works that way so libcurl needs
to get the Proxy-Authorize: oresponse back from the proxy with data in it in
order to proceed from there.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-02-24