From: Mike B. <mb...@Ga...> - 2003-02-26 16:13:15
|
> just a small question concerning redirects: When I enable my webclient > to follow redirects, like this: > > webClient.setRedirectEnabled(true); > > I still get error messages like this: > > 26.02.2003 16:07:05 org.apache.commons.httpclient.HttpMethodBase > processRedirectResponse > INFO: Redirect requested but followRedirects is disabled > > Does this mean anything? I get the same messages when I did not enable > redirecting within the webclient. It's an annoyance that I haven't figured out how to fix yet. For a variety of reasons, I handle the redirection logic inside HtmlUnit rather than letting commons-httpclient handle it for me. It's commons-httpclient that is displaying that message because I have explicitly disabled its redirection support. I'd like to filter out that warning message but haven't figured out a clean way of doing it. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |