cURL / Mailing Lists / curl-users / Single Mail


Re: Re: problem with http basic authentication and multiple redirects

From: Dan Fandrich <>
Date: Tue, 25 Nov 2008 13:36:49 -0800

On Tue, Nov 25, 2008 at 10:12:39PM +0100, Menner May wrote:
> Thank you, Ralph, for your tip. --anyauth is the solution.
> curl now sends the basic authentication only after it was requested
> from the server.
> Thus, the previous redirects to the Single Sign On server works.
> After authentication, i receive the SSO cookie.
> There's still a problem: curl sends the basic authentication header
> again and again
> on all subsequent redirected GETs. Firefox doesn't do that.

I don't think it should be doing that unless you are using the
--location-trusted option. Sounds like a bug.

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
List admin:
Received on 2008-11-25