curl-users
Re: Proxy server problem
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 28 Oct 2003 11:14:41 +0100 (CET)
Date: Tue, 28 Oct 2003 11:14:41 +0100 (CET)
On Tue, 28 Oct 2003, Pravin Jade wrote:
> D:\curl>curl -X 192.168.1.10:8080 -U [snip] http://www.netscape.com
Perhaps you should be more careful about posting user names and passwords to
the world.
> But above command shows html code of Log-in page of my proxy server instead
> of netscape's home page.
That indicates that you need something else than a mere -U to authenticate.
> So what settings should be done to get netscape's home page ?
Use -v and show us what headers you get back. I suspect that you get a set of
Proxy-Authenticate: headers that require a different authentication mechanism
than the default one -U uses (which is Basic).
-- Daniel Stenberg -- curl: been grokking URLs since 1998 ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/Received on 2003-10-28