cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: cURL and origin cookie redirect authentication based method on a proxy

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 5 Oct 2007 21:00:13 +0200 (CEST)

On Wed, 3 Oct 2007, laurent zannettacci wrote:

I just re-read your mail and then it struck me...

> Does anyone can teel me if such kind of behavior can be repoduced
> using cURL ?From my understanding and my tests the answer is no but
> i'm probably wrong.
> FYI here is the cURL request I tried:
>
> curl -i -L --proxy-anyauth -U jdoe:password -k -b cookie-store -c
> cookie-store --trace-ascii trace.txt www.google.com

You're using --proxy-anyauth and -U but neither is actually correct here. This
(strange) proxy does a host-based auth so you should rather use --anyauth and
-u. Does that make things work differently foe you?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-10-05