On Mon, 2007-06-11 at 14:54 +0800, Feng Jiang wrote: > Hi all, > > As we know we can enable/disable following redirect by > setFollowingRedirect() in HttpMethodBase. But how to limit the redirect > count during a fetching process? > > I found the HttpClientParams.MAX_REDIRECTS attribute may affect the redirect > count. But how to set it? I cannot find a explicitly interface to set this > value. > > Best regards, > > Feng
Hi Feng Please take a look at the HttpClient preferences API http://jakarta.apache.org/commons/httpclient/preference-api.html Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
