cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

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

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET