From: Mike B. <mb...@Ga...> - 2003-10-14 19:48:06
|
Raj Wagle wrote: > In my code, I'm enabling redirect using: > > myWebClient.setRedirectEnabled(true); > > Why am I still seeing the following message: > [INFO] HttpMethodBase - -Redirect requested but followRedirects is > disabled FAQ: http://htmlunit.sourceforge.net/faq.html > Also, is there some way I can see the raw HTTP requests and responses > that are being sent back and forth? Do they get logged some place? It's possible to get commons-httpclient to dump the requests/responses to the log but I'm not sure of the exact flag to turn on. I personally use a packet sniffer when I want to look at the traffic. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |