hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Feng Jiang" <feng.a.ji...@gmail.com>
Subject how to limit the redirect count if I enable following redirect?
Date Mon, 11 Jun 2007 06:54:52 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message