curl-library
Re: SSL and basic authentication.
Date: Thu, 23 Oct 2008 16:24:00 -0700
On Fri, Oct 24, 2008 at 12:41:58AM +0200, Josef Wolf wrote:
> On Thu, Oct 23, 2008 at 10:19:27PM +0200, Daniel Stenberg wrote:
> > I wonder if a auth type (Basic, Digest, NTLM etc) would
> > be wanted as well.
>
> What would this be used for?
Determining whether this form of authentication is desired (e.g. to disable
unencrypted Basic), or maybe to delegate an authentication server to handle
some forms.
> Yes, but providing user+passwd in advance is only possible if the
> application knows that the remote side will ask for it.
If the other end wants it, just ask the user and redo the request with
the credentials!
> Huh? So libcurl already tries to repeat the request with different
> credentials? This sounds like I have missed something important in
> the documentation? Can you please drop some hints about how 401/407
> is handled right now?
Take a look at curl's --anyauth option.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2008-10-24