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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
