cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

From: Menner May <hans.juergen.may_at_googlemail.com>
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.

Menner
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2008-11-25