cURL / Mailing Lists / curl-users / Single Mail


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

From: Daniel Stenberg <>
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


> 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.

List admin:
Received on 2009-02-24