hi :) maybe preemptive authentication is what you're looking for - i haven't tried it personnaly, but here's what the doc says : --- from http://jakarta.apache.org/commons/httpclient/authentication.html --- Preemptive authentication can be enabled within HttpClient. In this mode HttpClient will send the basic authentication response even before the server gives an unauthorized response in certain situations, thus reducing the overhead of making the connection. To enable this use the following:
client.getState().setAuthenticationPreemptive(true); To enable preemptive authentication by default for all newly created HttpState 's, a system property can be set, as shown below. setSystemProperty(Authenticator.PREEMPTIVE_PROPERTY, "true"); --- --- have a nice day Isabelle > -----Original Message----- > From: Sid Subr [mailto:[EMAIL PROTECTED] > Sent: Friday, January 02, 2004 8:04 PM > To: Commons HttpClient Project > Subject: Re: authentication ... > > > on the same note of authentication.. I know this > question sounds dumb (when I read back the contents) > but > is there a way to send the authentication > digest/credentials with the first request so that the > request does not get challenged? > > > > > __________________________________ > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard > http://antispam.yahoo.com/whatsnewfree > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]