cURL / Mailing Lists / curl-users / Single Mail


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

From: Menner May <>
Date: Tue, 25 Nov 2008 22:12:39 +0100

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.

But, in my case, with that SSO cookie header present,
the application is satisfied and ignores the additional basic
authentication header.

List admin:
Received on 2008-11-25