Hello, If there is interest, I can supply a patch to do it on a programmatic way. The Slide test suite currently uses a HttpSession for each method call, in this scenario the performance penalty is pretty big.
Doing it the programmatic way: 1) The HttpClient has a private field "preEmptiveAuthorisation" with public getter and setter. 2) If preEmptiveAuthorisation was set either to true or false, the system property httpclient.authentication.preemptive is ignored, but preEmptiveAuthorisation is used. 3) If preEmptiveAuthorisation was not set, the old mechanism still applies. [Do we still need the property mechanism in this case?] Best regards, Juergen -----Original Message----- From: Jeffrey Dever [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 23.37 PM To: Commons HttpClient Project Cc: 'Slide Developers Mailing List' Subject: Re: Slide Client API uses current Http-Commons API This is great! Very happy to be working with you guys on this. >3) Performance: currently 2 calls are sent in case of an authenticating >server > > Just the first time the realm is hit. It can be made to send the authentication header on the first request with the property: httpclient.authentication.preemptive=true Would consider a programatic way of doing this if desired. -jsd -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
