From: Mike B. <mb...@Ga...> - 2004-10-15 10:45:15
|
Vinay Murthy wrote: > I would want to know if htmlUnit provides a feature to cache > frequently visited pages ? No, it doesn't. > Also, I would like to know of the authentication schemes used by > htmlUnit . Does use the schemes provided by httpClient ? At present, the only authentication scheme exposed by HtmlUnit is basic authentication. The plan is to expose the underlying copy of commons-httpclient so that you have full access to all the functionality it offers (this will address a number of open bugs). Unfortunately, this isn't trivial with commons-httpclient 2.x so I've been waiting for their 3.x code to stabilize. Due to limitations in the 2.x code, HtmlUnit has to manage multiple instances of commons-httpclient for each WebClient so it isn't a simple matter of exposing the underlying implementation. With the 3.x code, we'll be able to have only one httpclient per WebClient which makes things easier. The 3.x series of commons-httpclient is currently in alpha so I'm hesitant to add a dependency to it right now. Hope this helps. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |