cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Unauthorized reply from server

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 18 Mar 2003 22:20:29 +0100 (CET)

On Tue, 18 Mar 2003, Sigal Algranaty wrote:

> I'm trying to open an HTML page that demands authorization.

What kind? libcurl only supports 'Basic'.

> I add the user name and password to the request. The first reply from the
> sever is : 401.2 Unauthorized: Logon Failed due to server configuration
> Same code with wininet.lib performed 2 requests. The second one got
> positive reply.

And this is Basic authentication and not NTLM or possibly Digest?

> Is there any way to configure curl to retry page request?

Nope, you tell curl to do that in case you want it to.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
Received on 2003-03-18