You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Oleg Kalnichevski <ol...@apache.org> on 2008/12/11 17:04:18 UTC
Re: HttpClient 4.0-beta1: HttpGet.setFollowRedirects()? + Glitch
in docs
On Thu, 2008-12-11 at 10:55 +0100, Michael Mattes wrote:
> Hi everybody,
>
> I want my HttpGet method to not follow redirects, but I am missing the
> setFollowRedirects() method in the new HttpGet class. Any suggestions on what
> would be the new approach for this in HttpClient 4.0-beta1?
>
Set 'http.protocol.handle-redirects' parameter to false. For details see
HttpClientParams class.
> Also, the documentation still mentions the non-existing setFollowRedirects()
> method, see the class description in
> <http://hc.apache.org/httpcomponents-client/httpclient/apidocs/org/apache/http/client/methods/HttpGet.html>.
> Should I make a bug report for that?
>
No need to open an issue in JIRA for that. I'll remove that sentence for
the javadoc.
Oleg
> Regards,
> Michael
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org